Refactor binary sensor initial state handling and update OTA configuration for remote panels
This commit is contained in:
@@ -16,7 +16,7 @@ binary_sensor:
|
||||
- platform: homeassistant
|
||||
id: ceiling_light_state
|
||||
entity_id: light.living_room_light_2
|
||||
publish_initial_state: true
|
||||
trigger_on_initial_state: true
|
||||
on_state:
|
||||
- lvgl.widget.update:
|
||||
id: ceiling_light_button
|
||||
@@ -25,7 +25,7 @@ binary_sensor:
|
||||
- platform: homeassistant
|
||||
id: small_lamp_state
|
||||
entity_id: light.small_living_room_lamp
|
||||
publish_initial_state: true
|
||||
trigger_on_initial_state: true
|
||||
on_state:
|
||||
- lvgl.widget.update:
|
||||
id: small_lamp_button
|
||||
@@ -33,6 +33,7 @@ binary_sensor:
|
||||
checked: !lambda return x;
|
||||
|
||||
lvgl:
|
||||
rotation: 90
|
||||
on_idle:
|
||||
- timeout: 45s
|
||||
then:
|
||||
|
||||
Reference in New Issue
Block a user