Skip to content
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

Targets not showing in action node after upgrading to 18.1.1 #1969

Open
ssillen opened this issue Oct 5, 2024 · 11 comments
Open

Targets not showing in action node after upgrading to 18.1.1 #1969

ssillen opened this issue Oct 5, 2024 · 11 comments

Comments

@ssillen
Copy link

ssillen commented Oct 5, 2024

Problem/Motivation

After updating from 18.0.5 to 18.1.1 NR asked me to update HA nodes. After that I noticed multiple issues for my action (previously "call service") nodes. All of them told me that entity_id should be in "data" and not in "target". I could not find the "targets" property, so no way to find the entity_id. According to screenshots of other people, there should be a "targets" property.
Reverted back to 18.0.5 and everything is ok now. Phew, that was scary.

Expected behavior

I expect to still be able to use the "targets" property and not having to define the target entity_id in the data property. Also, the target property should be shown.

Actual behavior

Targets property is missing. Multiple errors, although I did not change anything.

Steps to reproduce

Update from 18.0.5 to 18.1.1 and then confirm update HA nodes.

@Sirena44
Copy link

Sirena44 commented Oct 6, 2024

I have exactly the same issue. No targets property showing in the action node making Node Red unusable. if I go into Node Red directly using :1880 the target property shows but then vanishes.

@Sirena44
Copy link

Sirena44 commented Oct 6, 2024

Correction mostly working now except Z Wave JS and that is probably me.

@ssillen
Copy link
Author

ssillen commented Oct 7, 2024

What's also strange is, on another installation I also updated to 18.1.1 but there it's still called "call service" node i.s.o. "action"

@paulcusick3
Copy link

+1 NO actions at all
Capture

Log looks fine at startup:

`Welcome to Node-RED

8 Oct 07:34:41 - [info] Node-RED version: v4.0.3
8 Oct 07:34:41 - [info] Node.js version: v18.20.4
8 Oct 07:34:41 - [info] Linux 6.6.46-haos arm64 LE
8 Oct 07:34:42 - [info] Loading palette nodes
8 Oct 07:34:43 - [info] Node-RED Contrib Theme Collection version: v4.0.10
8 Oct 07:34:47 - [info] Dashboard version 3.6.5 started at /endpoint/ui
8 Oct 07:34:49 - [info] node-red-contrib-home-assistant-websocket v0.73.0 nodes initialized
8 Oct 07:34:49 - [info] Settings file : /etc/node-red/config.js
8 Oct 07:34:49 - [info] Context store : 'default' [module=memory]
8 Oct 07:34:49 - [info] User directory : /config/
8 Oct 07:34:49 - [warn] Projects disabled : editorTheme.projects.enabled=false
8 Oct 07:34:49 - [info] Flows file : /config/flows.json
8 Oct 07:34:49 - [info] Server now running at http://127.0.0.1:46836/
8 Oct 07:34:50 - [info] Starting flows
[07:34:50] INFO: Starting NGinx...
8 Oct 07:34:51 - [info] Started flows
8 Oct 07:34:55 - [info] [server:Hingham Home] Connecting to http://supervisor/core
8 Oct 07:34:55 - [info] [server:Home Assistant] Connecting to http://supervisor/core
8 Oct 07:34:55 - [info] [server:Hingham Home] Connected to http://supervisor/core
8 Oct 07:34:55 - [info] [server:Home Assistant] Connected to http://supervisor/core`

@Marx1
Copy link

Marx1 commented Oct 9, 2024

+1 same issue. Reverted back to 18.0.5

@gregolin
Copy link

Certainly the issue is related to this change:

https://www.home-assistant.io/blog/2024/10/02/release-202410/#improved-yaml-syntax-for-automations

I think the addon must be updated by the developers.

@paulcusick3
Copy link

Bump - Still an issue. Staying on 18.0.5

@ssillen
Copy link
Author

ssillen commented Nov 10, 2024

This could probably be linked to the version of node-red-contrib-home-assistant-websocket
Go to menu->Manage Palette -> Nodes
here search for node-red-contrib-home-assistant-websocket, and look for an update. There should be an update button to 0.74.2 The current version causing my problems is 0.65.1
I still have to test this when I have time to debug and know how to revert to the previous version. Does anyone know how to do this?

Also, why is the palette not- automatically updated with the update of the HA add-on?

@paulcusick3
Copy link

@ssillen That did it. Updated the websocket in Palette then updated nod red and entities now load.

@Marx1
Copy link

Marx1 commented Nov 11, 2024

Still broken for me. Nodes are still missing.

@DougEdey
Copy link

@Marx1 Did you update the websocket add on then reload the Node Red integration? That's what fixed it for me.

👍 on "Why didn't this pallete node update?"

Mine was at 0.73 before, so I'm guessing the fix was in 0.74.0 based on the Changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants