18 lines
535 B
YAML
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
|