Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- automation:
- - alias: endre farge på lys
- trigger:
- platform: time_pattern
- seconds: '/5'
- action:
- - service: input_select.select_next
- entity_id: input_select.color_list
- - service: light.turn_on
- entity_id: light.wiz_spotter_hagen
- data_template:
- color_name: '{{states("input_select.color_list")}}'
- transition: 2
- input_select:
- color_list:
- name: Fargeliste
- options:
- - 'red'
- - 'green'
- - 'yellow'
- - 'blue'
- - 'azure'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement