Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- snips:
- intent_script:
- turnOnLight:
- action:
- - service: switch.turn_on
- data_template:
- entity_id: >
- # I have named my ceiling light switches after the rooms they are in, e.g. switch.living_room. The area slots have the same names, therefore I can use them here to create the entity id.
- switch.{{area}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement