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
Then the next node check if payload.id is different from entity.id and they are because the first is home_assistant_restarted while the latter is the full id of the entity input_boolean.home_assistant_restarted.
The next node try to rename it with the following
Documentation URL
https://zachowj.github.io/node-red-contrib-home-assistant-websocket/cookbook/starting-flow-after-home-assistant-restart.html#create-an-input-boolean-using-the-helpers-menu-configuration-helpers
The problem
I just checked the example but it isn't working. Besides having to personalize the name of my instance and my url I've found a problem in the subflow
https://github.com/zachowj/node-red-contrib-home-assistant-websocket/blob/ebcfecfa3e0cd58338ab0737ce3e219fdf1fc253/examples/cookbook/starting-flow-after-home-assistant-restart/example_01.json
The node named
create helper
return a msgThen the next node check if
payload.id
is different fromentity.id
and they are because the first ishome_assistant_restarted
while the latter is the full id of the entityinput_boolean.home_assistant_restarted
.The next node try to rename it with the following
But the new id should be
input_boolean.input_boolean.home_assistant_restarted
and the node throw aError Message: Invalid entity ID
error.I'm not sure why there's a check to see if the entity must be renamed and so I don't know how to fix the check itself nor the renaming part.
The text was updated successfully, but these errors were encountered: