esphome mi 1s lamp
This commit is contained in:
17
packages/pool_light_switch_sync.yaml
Normal file
17
packages/pool_light_switch_sync.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
Reference in New Issue
Block a user