Skip to content

Instantly share code, notes, and snippets.

@rdrouche
Created July 16, 2024 13:33
Show Gist options
  • Save rdrouche/bb6b55ebf628d5e24e05880b4c420fe7 to your computer and use it in GitHub Desktop.
Save rdrouche/bb6b55ebf628d5e24e05880b4c420fe7 to your computer and use it in GitHub Desktop.
Cycle color automatisation in Home Assistant
action:
- service: light.turn_on
data:
color_name: "{{ states('input_select.romane_couleurs_liste') }}"
target:
entity_id: light.0xa4c13874bb925e5a
- service: input_select.select_next
target:
entity_id: input_select.romane_couleurs_liste
data:
cycle: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment