You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After updating to version 0.11.0, all my current flows that are using the "Current State" node aren't working anymore. Apparently this node no longer pass the message from the current state entity, but is instead passing the original message.
To Reproduce
Example:
Expected behavior
In the example above, I would have expected the current state node to pass the state for my SONOS entity, so that I can use the switch node to redirect the flow based on the value on my Sonos payer. Instead, what happens is, that the payload of my Xiaomi Push Button is passed through.
Environment (please complete the following information):
Node Red Version: 3.1.1
Node.js Version: unkown
NR Home Assistant Plugin Version: 0.11.0
Is Node Red running in Docker: yes
Other (please complete the following information):
Have you searched previous issues for duplicates?:
Yes, I have tried my best.
Comments:
Thank you very much in advance for looking into this. I see in the release notes that a significant enhancement was introduced to this node, which might very well be the reason behind my issues.
The text was updated successfully, but these errors were encountered:
You are correct in that the changes to the current-state node is the reason behind your issue. The events: all node payload contains entity_id which will override the current-state node's config. It not that the current-state is sending on the original message but it is getting the current state of the entity id passed in by the events all node and passing that new data along.
Currently the solution is to delete msg.payload.entity_id before the current-state node. A different solution may appear in the next release.
Describe the bug
After updating to version 0.11.0, all my current flows that are using the "Current State" node aren't working anymore. Apparently this node no longer pass the message from the current state entity, but is instead passing the original message.
To Reproduce
Example:
Expected behavior
In the example above, I would have expected the current state node to pass the state for my SONOS entity, so that I can use the switch node to redirect the flow based on the value on my Sonos payer. Instead, what happens is, that the payload of my Xiaomi Push Button is passed through.
Environment (please complete the following information):
Other (please complete the following information):
Yes, I have tried my best.
Thank you very much in advance for looking into this. I see in the release notes that a significant enhancement was introduced to this node, which might very well be the reason behind my issues.
The text was updated successfully, but these errors were encountered: