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