esphome updates

This commit is contained in:
root
2025-08-04 23:26:44 +12:00
parent ac887724a2
commit 42796bc46e
15 changed files with 1958 additions and 39 deletions

View File

@@ -22,12 +22,12 @@ automation:
to: "on"
condition:
condition: state
entity_id: switch.esp_poollightspower_power_output
entity_id: switch.esp_poollightpower_power_output
state: "off"
action:
- service: mqtt.publish
data:
topic: "viewroad-commands/poollights-timer/operation"
topic: "viewroad-commands/poollight-timer/operation"
payload: "BOOST"
- alias: "Pool Lights → send OFF & schedule TIMER when user turns UI switch OFF"
@@ -37,12 +37,12 @@ automation:
to: "off"
condition:
condition: state
entity_id: switch.esp_poollightspower_power_output
entity_id: switch.esp_poollightpower_power_output
state: "on"
action:
- service: mqtt.publish
data:
topic: "viewroad-commands/poollights-timer/operation"
topic: "viewroad-commands/poollight-timer/operation"
payload: "OFF"
- service: input_boolean.turn_on
data:
@@ -68,12 +68,12 @@ automation:
- alias: "Pool Lights → sync UI switch with real output (no MQTT)"
trigger:
platform: state
entity_id: switch.esp_poollightspower_power_output
entity_id: switch.esp_poollightpower_power_output
action:
- choose:
- conditions:
- condition: state
entity_id: switch.esp_poollightspower_power_output
entity_id: switch.esp_poollightpower_power_output
state: "on"
sequence:
- service: input_boolean.turn_on
@@ -84,7 +84,7 @@ automation:
entity_id: input_boolean.timer_light_midnight_pending
- conditions:
- condition: state
entity_id: switch.esp_poollightspower_power_output
entity_id: switch.esp_poollightpower_power_output
state: "off"
sequence:
- service: input_boolean.turn_off