fix last_illuminance with 0 if no light can cause na in ha.
This commit is contained in:
parent
c399570894
commit
276ff4e8a5
|
|
@ -1,5 +1,5 @@
|
||||||
# This is a custom firmware for Human Presence Sensor 2A
|
# 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
|
# Current version synchronized with public version: V230818_2_beta
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
|
|
@ -59,7 +59,7 @@ globals:
|
||||||
- id: last_illuminance
|
- id: last_illuminance
|
||||||
type: float
|
type: float
|
||||||
restore_value: no
|
restore_value: no
|
||||||
initial_value: "0"
|
initial_value: "-1"
|
||||||
|
|
||||||
improv_serial:
|
improv_serial:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user