#Get the entity_id of the automation that is created from a blueprint

8 messages · Page 1 of 1 (latest)

crimson hornet
#

It is necessary to refer to itself in order to trigger the automation when the automation is enabled. But how can I get the entity_id in the blueprint?

crystal citrus
#

You can use templates and self reference the automation using this.entity_id

crimson hornet
crimson hornet
crystal citrus
#

One time was enough, I'm not always able to respond directly

#

this will return the state object of the template automation

crimson hornet