-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch states not preserved after HA restart, all switches turn on #973
Comments
What is the node type for the node that has the id |
I have a similar issue. After Update to newest Version and reboot every NodeRed Switch is in On Position. |
@zachowj it's a switch type, they all are. Although I can't be 100% sure, it seems other entity types, such as sensors are not affected by this. Since the issue started I've had to convert a few critical entities such as Irrigation to HA Helper Toggle entitites (input_boolean), but I'm holding out for a solution on the rest. As it seems there's at least one other person experiencing it too, I hope we can provide you with the info you need to address this, thanks. |
Same issue here since about a day back. All switches are turned On after reboot of HA. |
@MaxVonEvil While in NR you can use the “Search flows” command and enter the id The switch node code hasn't changed in 10 months, maybe something changed on the HA side. I'll have to see if I can replicate it. |
You are right, that was actually a sensor node. As stated those still seem to work.
Thanks, it's unfortunatly not the first time and likely not the last time HA's unintentionally broken an integration with an underlying change. I'll unfortunately have to continue to covert 30-something switches to input_boolean. Yay. |
@MaxVonEvil it's fixed in 0.51.1 |
@zachowj Pardon, not sure which component that refers to? |
node-red-contrib-home-assistant-websocket |
Got it. Updated and confirmed it's working again. Thanks for the help! |
-----update now available---- ----Done/fixed Thanks for your help |
Version of the custom_component: 1.4.0
Describe the bug
After upgrading about 3 days ago to Node Red Compagnion 1.4.0 I noticed that after HA restart, any switches defined in Node-red would turn on. Others would become unresponsive, as if something is broken between HA and NodeRed, specifically if you try to turn off a switch node-red it would fail and revert to the on-state.
HA details:
Home Assistant 2023.7.0
Supervisor 2023.07.1
Operating System 10.3
Frontend 20230705.0 - latest
The text was updated successfully, but these errors were encountered: