How to use an entity in an automation as a trigger

I have an esphome device that has a contact setup. That is all working ie: I press the button and I get a state change. Now I want to use it as a trigger in an automation. The only options I have are to use devices. How cah I use entities?

Thanks

use a state trigger instead of a device trigger. then you can use the entity_id.

Got it I think

Thanks

1 Like