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: standing_lamp_state
|
||||
entity_id: light.living_room_lamp_1
|
||||
publish_initial_state: true
|
||||
trigger_on_initial_state: true
|
||||
on_state:
|
||||
- lvgl.widget.update:
|
||||
id: standing_lamp_button
|
||||
@@ -25,7 +25,7 @@ binary_sensor:
|
||||
- platform: homeassistant
|
||||
id: small_lamp_state
|
||||
entity_id: light.small_family_room_lamp
|
||||
publish_initial_state: true
|
||||
trigger_on_initial_state: true
|
||||
on_state:
|
||||
- lvgl.widget.update:
|
||||
id: small_lamp_button
|
||||
@@ -34,7 +34,7 @@ binary_sensor:
|
||||
- platform: homeassistant
|
||||
id: tv_stand_state
|
||||
entity_id: light.family_room_tv_stand
|
||||
publish_initial_state: true
|
||||
trigger_on_initial_state: true
|
||||
on_state:
|
||||
- lvgl.widget.update:
|
||||
id: tv_stand_button
|
||||
@@ -42,6 +42,7 @@ binary_sensor:
|
||||
checked: !lambda return x;
|
||||
|
||||
lvgl:
|
||||
rotation: 90
|
||||
on_idle:
|
||||
- timeout: 45s
|
||||
then:
|
||||
|
||||
Reference in New Issue
Block a user