various tidyups

This commit is contained in:
zorruno
2026-09-13 15:32:16 +12:00
parent 3ead85ef29
commit d1fea67cfe
34 changed files with 3303 additions and 2306 deletions
@@ -9,9 +9,13 @@
# packages/Pool_Controls/pool_light_operation.yaml
#
# VERSION:
# V1.2 2026-07-20
# V1.3 2026-09-06
#
# VERSION HISTORY:
# V1.3 2026-09-06
# - Treat the colour selector's "0= OFF" as a true Operation Mode OFF and
# arm the midnight TIMER reset.
#
# V1.2 2026-07-20
# - Corrected the documented package filename.
# - Documented the relationship with the native ESPHome controls.
@@ -151,6 +155,40 @@ automation:
target:
entity_id: input_boolean.timer_light_midnight_pending
- id: pool_light_schedule_timer_when_operation_mode_off
alias: "Pool Light - Schedule TIMER When Operation Mode Is OFF"
description: "Arms the midnight TIMER reset for direct Operation Mode OFF commands."
mode: single
trigger:
- platform: state
entity_id: select.esp_poollightpower2_operation_mode
to: "OFF"
action:
- action: input_boolean.turn_on
target:
entity_id: input_boolean.timer_light_midnight_pending
- id: pool_light_send_off_when_colour_off_selected
alias: "Pool Light - Send OFF When Colour Off Is Selected"
description: "Converts colour selector 0= OFF into Operation Mode OFF with midnight reset."
mode: restart
trigger:
- platform: state
entity_id: select.esp_poollightpower2_pool_light_mode
to: "0= OFF"
action:
- action: mqtt.publish
data:
topic: "viewroad-commands/poollight-timer/operation"
payload: "OFF"
- action: input_boolean.turn_on
target:
entity_id: input_boolean.timer_light_midnight_pending
- id: pool_light_sync_ui_switch_with_real_output
alias: "Pool Light - Sync UI Switch With Real Output"
description: "Keeps the UI switch aligned with the real ESPHome pool light output without sending MQTT commands."