# Trigger Automation in Home Assistant Not Working

**URL:** <https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [4 July 2023 01:25 UTC](https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568 "2023-07-04T01:25:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperJonotron](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@SuperJonotron](https://discourse.nodered.org/u/SuperJonotron)\
**Post date:** [4 July 2023 01:25 UTC](https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568/1 "2023-07-04T01:25:38Z")

</div>

I have a very basic flow to test home assistant integration by trying to trigger an automation. I setup the server and can see it's connected by the sheer fact that all the drop downs are filled up with information from Home Assistant. I attempted to set this simple flow to just trigger an automation that really doesn't do anything, but I would expect to see it triggered with an updated trace when this flow is deployed. There are no errors (or messages) in the debug console and the console log shows a connection to HA every time I do deploy it, just nothing on HA to indicate it's getting through or error logs there either.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/8/08126fbdb12bf2a051c47985168d5a71ccd3090c.png)

Console showing connection during flow:

> node-red-2 | 4 Jul 01:22:43 - [info] [server:Home Assistant] Connecting to [http://10.0.0.187:8123](http://10.0.0.187:8123)  
> node-red-2 | 4 Jul 01:22:43 - [info] [server:Home Assistant] Connected to [http://10.0.0.187:8123](http://10.0.0.187:8123)

HA Version: 2023.2.5  
Node-Red Version: v3.0.2

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 July 2023 07:06 UTC](https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568/2 "2023-07-04T07:06:19Z")

</div>

Add a debug node to see what you are sending to the HA node

---

<div class="post-metadata">

**Author:** ![SuperJonotron](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@SuperJonotron](https://discourse.nodered.org/u/SuperJonotron)\
**Post date:** [4 July 2023 14:32 UTC](https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568/3 "2023-07-04T14:32:37Z")

</div>

That green node in the screen shot is a debug node but nothing shows up in the debug view. No errors, no messages, nothing.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 July 2023 14:55 UTC](https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568/4 "2023-07-04T14:55:03Z")

</div>

That is showing what is coming out of the HA node. The question is, what is going into it (if anything)?

---

<div class="post-metadata">

**Author:** ![SuperJonotron](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@SuperJonotron](https://discourse.nodered.org/u/SuperJonotron)\
**Post date:** [4 July 2023 18:31 UTC](https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568/5 "2023-07-04T18:31:14Z")

</div>

Dumb mistake. Thought I was triggering that flow but it wasn't getting triggered. Once I did that, things started working and debugging as expected.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 July 2023 18:47 UTC](https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568/6 "2023-07-04T18:47:03Z")

</div>

The moral is, if a node is not behaving as you expect, then first check what you are sending to it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 September 2023 18:47 UTC](https://discourse.nodered.org/t/trigger-automation-in-home-assistant-not-working/79568/7 "2023-09-02T18:47:24Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
