Replies: 5 comments 1 reply
-
What version of this component and Home Assistant nodes do you have installed? https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/diagnostics.html |
Beta Was this translation helpful? Give feedback.
-
Companion is 4.0.0 |
Beta Was this translation helpful? Give feedback.
-
Oh, that's interesting. It looks to be a bug with node-RED. I don't believe that is the expected behavior. I'll have to take a closer look. |
Beta Was this translation helpful? Give feedback.
-
Not a bug with node-RED. It's a scoping issue with the entity config node. Edit the entity config scope to "On all flows" and it should stop the duplication. |
Beta Was this translation helpful? Give feedback.
-
Hmmm that is it's default setting. I double checked just in case. Again it only happens if I initially create a new entity node in an existing subflow but not if I create it then create the subflow with move selection to subflow. Unfortunately I cannot delete the additiona HA entities as they are all still registered to node red companion. Node red does not show these as additional configuration nodes... just the original node.
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Jason ***@***.***>
Sent: Wednesday, May 22, 2024 1:58:40 AM
To: zachowj/hass-node-red ***@***.***>
Cc: inguy24 ***@***.***>; Author ***@***.***>
Subject: Re: [zachowj/hass-node-red] Problem adding NR entity nodes to existing subflows (Discussion #275)
Not a bug with node-RED. It's a scoping issue with the entity config node.
Edit the entity config scope to "On all flows" and it should stop the duplication.
image.png (view on web)<https://github.com/zachowj/hass-node-red/assets/37859597/616a0b77-3e57-4e99-909c-2205d8521fb4>
—
Reply to this email directly, view it on GitHub<#275 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJABEYGSUQEVFJBGWQGZ4ODZDRM4BAVCNFSM6AAAAABIDAOZUCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TKMJYGY2TS>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi, I am having an issue when I add a new entity node to an existing Node Red subflow. What happens is that entity node (i.e. sensor, switch etc) when registered with HA, gets duplicated the same number of times that the subflow appears in other flows. For example, when creating a new switch entity node in a subflow that may be called multiple times from the same flow... I get 6 switch entities registered in HA (i.e. switch_1 switch_2, etc.) If I create the entity node in a regular flow, and then create the subflow by selecting those nodes, then the duplication does not happen. What am I doing wrong here, or is this a bug that needs addressed? Although I try not to create subflows first, before adding entity nodes, sometimes it happens with regular tweaking or building out of more complicated flows.
Beta Was this translation helpful? Give feedback.
All reactions