first commit
This commit is contained in:
12
switch.yaml
Normal file
12
switch.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
- platform: template
|
||||
switches:
|
||||
basement_lights:
|
||||
value_template: "{{ is_state('group.basement_lights', 'on')}}"
|
||||
turn_on:
|
||||
service: homeassistant.turn_on
|
||||
target:
|
||||
entity_id: group.basement_lights
|
||||
turn_off:
|
||||
service: homeassistant.turn_off
|
||||
target:
|
||||
entity_id: group.basement_lights
|
||||
Reference in New Issue
Block a user