Hi,
I’m trying to do this for an Alexa skill in an intent script:
action: service: light.turn_on data_template: entity_id: light.{{ Light | replace(" ", "_") }} data: color_name: {{ Colour | replace(" ", "_") }}
I can get entity_id to work on it’s own, but can’t pass the data for the enitity ID (.e.g colour)
Can anyone help with this?
Many thanks