Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- params: >-
- ['
- {%- set rooms = {
- "25": "input_boolean.vacuum_kitchen",
- "17": "input_boolean.vacuum_bedroom",
- "21": "input_boolean.vacuum_livingroom",
- "19": "input_boolean.vacuum_hallway"
- } -%}
- {%- for id in rooms %}
- {%- if is_state(rooms[id], 'on') %}
- {%- if not loop.first -%},{%- endif -%}
- {{ id }}
- {%- endif %}
- {%- endfor -%}
- ']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement