I successfully created a device trigger for button press via MQTT Discovery.
How can I find out that the device triggers events this way?
I cannot see button press events or other cues in HA (ie in the device logbook)
Thanks to NodeRed, I verified it does work. It offers a dedicated node for that, with a device selector and a picker of available events. Without that, how could I get an event name?
Interesting. Didn’t know about that. I was aware of device triggers only.
Is it currently the preferred way? What are the pros/cons when choosing one over another?
ChatGPT suggests that device triggers are supported by GUI (ie buttons) while event entities are more generic without GUI support.
If it’s true, why device triggers are not visible on device page.
Yes, event entities are preferred, they are the newer and better solution, that will keep getting improvements in the future. Stop using ChatGPT, it often lies.