I have this weird behavior after migrating from a raspberry pi to a Intel NUC. All input_booleans I used before on the raspberry do not work anymore on the NUC. For example this code:
results in this:
I do not want to rename all of my booleans because I use them in Node-Red.
Can anyone point me into the right direction on how to solve this?
Thanks for the reply!
Yes I did restart several times already. I have checked the log and noticed a message that ‘2 instances of HA on the same network are running’. Shutdown the Rpi but that did not solve the problem.
When I click on a greyed out boolean then it says it is a orphan and gives me the option to remove is. So I did and restarted HA. The input_boolean ‘‘Iemand_Thuis’’ is nowhere to find after the reboot.
These are the errors I have in the log. But I cannot relate one of them to this problem.
Good suggestion. But it did not solve it. When I change only 1 letter in the name then it will show up. But that means a lot of work bacause I have to change the name in all Node-Red flows. It looks like there is no other option…
Did you create one of them from the UI in the past? The only other place it could be stored in the files in .storage, but you ahouldn’t mess with them unless you know what you are doing.
I problably did. I think myself the solution lies somewhere in the .storage files. I noticed more strange things that worked before but did not work after the migration. I full restore of a snapshot from the raspberry to the NUC went terribly wrong resulting in crashes of HA. I did copy most configuration files but don’t know exacly which one. Is there something I can try to solve this you think?
I also changed from Node-Red as add-on to Node-Red in a container. That also is a challenge.
You can remove the parts from the files in the .storage folder, just make a backup beforehand. It’s not rocket science, but it’ll break your system if it’s not valid json
I don’t understand your question. The input_boolean configuration and the errors I have are in HA. I only use them in Node-Red (if they work of course). I have changed te name of the input+booleand and now they work both in HA and in Node-Red. I took only about an hour to change them all.
So the problem is solved, but I still don’t know why this error occurred.
I have checked the files in .storage and they are all created today. So I did not copy any of the old files to this directory.