# Push Notification Home Assistant when Deploy

**URL:** <https://discourse.nodered.org/t/push-notification-home-assistant-when-deploy/34319>\
**Category:** General\
**Created:** [15 October 2020 20:08 UTC](https://discourse.nodered.org/t/push-notification-home-assistant-when-deploy/34319 "2020-10-15T20:08:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CAL37](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Post date:** [15 October 2020 20:08 UTC](https://discourse.nodered.org/t/push-notification-home-assistant-when-deploy/34319/1 "2020-10-15T20:08:54Z")

</div>

When you deploy a flow that has a node for a push notification to home assistant via android, why does it send the notification? Is there a way to stop that?

I was modifying my washer notifications and every time I made a change and deployed it would send me the push notification.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/c/6c5e4802c3b562fbab7ef449ff84467a9c574184.png)

---

<div class="post-metadata">

**Author:** ![michaelblight](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/michaelblight/32/445_2.png) [@michaelblight](https://discourse.nodered.org/u/michaelblight)\
**Post date:** [16 October 2020 02:32 UTC](https://discourse.nodered.org/t/push-notification-home-assistant-when-deploy/34319/2 "2020-10-16T02:32:56Z")

</div>

Is it just that node or is the "washer stopped" node changing state? Both the "phone notification" and "washer stopped" show the same time. If that's it, I find the "trigger: state" node is better than "events: state". It gives you more control over what should pass with multiple conditions, and it contains `old_state` and `new_state`. It might be the old state is "undefined", so it's giving you a false-positive. This node would let you exclude these cases.

---

<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:** [15 December 2020 02:33 UTC](https://discourse.nodered.org/t/push-notification-home-assistant-when-deploy/34319/3 "2020-12-15T02:33:08Z")

</div>

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