Refactor binary sensor initial state handling and update OTA configuration for remote panels

This commit is contained in:
Joshua King
2026-09-29 21:01:14 -04:00
parent 0be12509d1
commit 8ebac52160
4 changed files with 9 additions and 8 deletions
+4 -3
View File
@@ -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:
+3 -2
View File
@@ -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:
+1 -1
View File
@@ -24,7 +24,7 @@ api:
ota:
- platform: esphome
password: !secret ota_password
encryption:
wifi:
ssid: !secret wifi_iot_ssid
+1 -2
View File
@@ -18,7 +18,7 @@ api:
ota:
- platform: esphome
password: !secret ota_password
encryption:
wifi:
ssid: !secret wifi_iot_ssid
@@ -44,7 +44,6 @@ display:
dc_pin: GPIO18
reset_pin: GPIO3
dimensions: 240x320
rotation: 90
data_rate: 8MHz
invert_colors: true
auto_clear_enabled: false