Why isn’t the device name included in the data object for a device automation trigger? Am I missing something? The state trigger object say least has as an ‘entity_id’ field.
Is there any way for a template to determine what device caused the trigger to fire?
I tried to find out by listening to “*” on the developer options events page, but I only seem to see state_changed events for the indivual sensors, rather than the device. I have no idea what the data for device triggers looks like.
But even the state trigger directly contains the entity_id for the thing that changed in state. I would have thought that the device trigger data would contain the device name and ID.