@Toso82 wrote:
Hi,
I’m trying to create simple automation, but I get an error. Basically, it should recall a different scene based on an input_select value:
- id: 'turn_on_light' alias: room lights description: turn on lights trigger: - device_id: dbfae518679e47da8b11dc1abc6f32f6 domain: deconz platform: device subtype: turn_on type: remote_button_short_release condition: [] action: - data_template: entity_id: scene.lights_"{{ states('input_select.home_status')|lower }}" service: scene.turn_on
I’ve tried some codes alternatives, but without success. I’m still getting this error:
Invalid config for [automation]: expected a dictionary for dictionary value @ data[‘action’][0][‘data_template’]. Got None not a valid value for dictionary value @ data[‘action’][0][‘entity_id’]. Got None.
What am I missing?
Thank you!
PS: this is my first post. I’ve read this post, and I hope I did it well. If not, forgive this noob.
Posts: 1
Participants: 1