I am trying to get an action that randomly turns of 1 of 2 lights… Is it possible to have a random entity_id in a action?
entity_id: {{ [light.hue_ambiance_1,light.hue_ambiance_2] | random }}'
Nor:
entity_id: 'light.hue_ambiance_{{ [1,2] | random }}'
Seem to work.