From 276ff4e8a5ca0780a61e204451b32539a41fc490 Mon Sep 17 00:00:00 2001 From: Screek Worshop <126383355+screekworkshop@users.noreply.github.com> Date: Wed, 23 Aug 2023 18:04:46 +0800 Subject: [PATCH] fix last_illuminance with 0 if no light can cause na in ha. --- 2a/yaml/beta/human-sensor-2a-beta-github.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2a/yaml/beta/human-sensor-2a-beta-github.yaml b/2a/yaml/beta/human-sensor-2a-beta-github.yaml index ba3a088..e8bc28e 100644 --- a/2a/yaml/beta/human-sensor-2a-beta-github.yaml +++ b/2a/yaml/beta/human-sensor-2a-beta-github.yaml @@ -1,5 +1,5 @@ # This is a custom firmware for Human Presence Sensor 2A -# https://screek.io/2a +# https://docs.screek.io/2a # Current version synchronized with public version: V230818_2_beta esphome: @@ -59,7 +59,7 @@ globals: - id: last_illuminance type: float restore_value: no - initial_value: "0" + initial_value: "-1" improv_serial: