Hello folks!
I'm trying to write code for my ESP32, in order to have it send MQTT discovery info. I found https://www.home-assistant.io/integrations/device_trigger.mqtt/ in the documentation, but it seems to be inconsistent.
The explanation suggests something like type="button_short_press" and subtype="button_1".
The example JSON shows type="action" and subtype="arrow_left_click".
So should the type be "this is some action" with the specific action in the subtype (it's how I read the example), or should type indicate short/long/double/triple and subtype indicate the exact button (which is how I read the rest of the doc)? Or doesn't it really matter anyway and should I just put in there what makes sense to my device?
Cheers,
Sybren