Files
zorruno-homeassistant/packages/pool_light_switch_sync.yaml
2024-09-04 22:46:30 +12:00

18 lines
535 B
YAML

automation:
- alias: Turn on pool light with downstairs lounge switch
trigger:
platform: state
entity_id: switch.tasmo_ks811t_0707_downstloun_2c
to: "on"
action:
service: homeassistant.turn_on
entity_id: switch.tasmo_athplug_5103_1
- alias: Turn off pool light with downstairs lounge switch
trigger:
platform: state
entity_id: switch.tasmo_ks811t_0707_downstloun_2c
to: "off"
action:
service: homeassistant.turn_off
entity_id: switch.tasmo_athplug_5103_1