various tidyups

This commit is contained in:
root
2025-12-21 20:55:54 +13:00
parent 416efa6bd3
commit 19a14e1d1b
54 changed files with 5932 additions and 502 deletions
+5 -5
View File
@@ -22,7 +22,7 @@ automation:
to: "on"
condition:
condition: state
entity_id: switch.esp_poollightpower_power_output
entity_id: switch.esp_poollightpower2_switch
state: "off"
action:
- service: mqtt.publish
@@ -37,7 +37,7 @@ automation:
to: "off"
condition:
condition: state
entity_id: switch.esp_poollightpower_power_output
entity_id: switch.esp_poollightpower2_switch
state: "on"
action:
- service: mqtt.publish
@@ -68,12 +68,12 @@ automation:
- alias: "Pool Lights → sync UI switch with real output (no MQTT)"
trigger:
platform: state
entity_id: switch.esp_poollightpower_power_output
entity_id: switch.esp_poollightpower2_switch
action:
- choose:
- conditions:
- condition: state
entity_id: switch.esp_poollightpower_power_output
entity_id: switch.esp_poollightpower2_switch
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_poollightpower_power_output
entity_id: switch.esp_poollightpower2_switch
state: "off"
sequence:
- service: input_boolean.turn_off