How to get state of automation triggers? #939
-
I am using Home Assistant MQTT device triggers such as explained here: https://www.home-assistant.io/integrations/device_trigger.mqtt/ I can create HA-automations using these triggers, i.e. I can select these MQTT device triggers when creating/modifying a HA automation and it works flawlessly. I don't know how to "catch" these automation triggers in Node-Red using this integration. The state of the entity doesn't seem to change. I also don't quite understand these automation triggers, just know that they work in HA and are the "best practice" to use right now. I actually tried finding the event using the events: all action, but that only showed my automation that uses the trigger, not the trigger itself. Is there any way to use or read these HA automation triggers from Node-RED with this integration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
https://www.home-assistant.io/integrations/device_trigger.mqtt/#left-arrow-click-configuration Using the above example wouldn't you use an MQTT node to listen on |
Beta Was this translation helpful? Give feedback.
If you install the Node-RED companion component in HA. You can use the device node for device triggers.