Mi8
February 8, 2017, 11:35pm
1
Hey there!
Can anybody tell me if its possible to fire an event and set event_data using templates?
Example:
- event: appdaemon_scripts__thermostat_generic_update
event_data:
entity_id: ‘{{entity_id}}’
It does not seem as {{entity_id}} gets resolved.
Cheers,
Matthias
jamie_shaw
(Jamie Shaw)
October 10, 2017, 8:01am
3
I’ve stumbled across this myself recently and do not think it’s possible, not without event_data_template
being implemented to execute the templates at runtime.
tschmidty
(Tod B Schmidt)
December 10, 2017, 3:41am
4
For what it’s worth, I was stumbling over the same thing so submitted a pull request to implement event_data_template. We’ll see what happens.
home-assistant:dev
← tschmidty69:event-data-template
opened 03:36AM - 10 Dec 17 UTC
1 Like