-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Calling EvoHome services triggers error: HomeAssistantError: value should be a string for dictionary value @ data['entity_id'] #1248
Comments
Observed issue seems to be similar to #1245 |
I have the same problem when calling services from the multimatic integration. In a bunch of my flows, which used to work fine before the update, I get the same error. I can't find the root cause. What is even more weird, I tried just calling it from an inject node, no variables or anything. I don't get the error in this case, but nothing happens. The services call doesn't do anything. The only calls that do work are those without any data... I mean seriously, is anyone testing these updates at all? After every single node-red companion/websockets update half of my working flows break... @sgurgul Can you please share how you have done this with a websocket API node? |
Btw. this definitely isn't service specific. Here is the simplest example I could think of. You can't even add an entry to the logbook. From what I've managed to conclude all service calls which have some data, don't work. Only service calls without any data (e.g. light turn_on/turn_off) do work. Also, is there any way to easily revert the add-on to the old version, without reverting the whole HA? |
Well, I see that light in front of me. It's changing brightness, definitely :) |
It has to do with the service that is being called doesn't accept entity ids as an array. A temporary workaround is to put the entity ID in the data field |
Thanks. That workaround seems to work. Do you know when a fix can be expected? I have a bunch of heating automations, none of them are working currently. It's a pretty big pain to switch all of them to the workaround and then back. If the fix will be released in the next HA update, I'll rather wait for it and operate them manually for the next 3-4 days |
Great, thank you very much for prompt fix. I confirm - it works well. |
Describe the bug
EvoHome is a HA's build-in integration. It exposes few services to control EvoHome devices.
Home Assitant NodeRed addon version 17.0.0 introduced node-red-contrib-home-assistant-websocket update to version 0.62.2.
These update causes EvoHome services impossible to be called.
Whichever service I try I receive following error:
"HomeAssistantError: value should be a string for dictionary value @ data['entity_id']"
Calling the same service directly from HA (using Developer Tools / Services) works properly.
To Reproduce
Expected behavior
Executing appropriate action on EvoHome device.
Screenshots
Example Flow
No response
Environment Information
Version:
Home Assistant version: 2024.1.2
Node-RED version: 3.1.3
Docker: no
Add-on: yes, 17.0.0
Additional context
The only workaround I found is to use websocket API node instead of "call service"
The text was updated successfully, but these errors were encountered: