addon-node-red icon indicating copy to clipboard operation
addon-node-red copied to clipboard

18.1.1 data lost

Open 7c opened this issue 1 year ago • 3 comments

Just updated to 18.1.1 - disaster in my home.... it threw error to almost all nodes. But particularly when i copy & paste a "api-call-service". Node throws:

"HomeAssistantError: required key not provided @ data['entity_id']"

After debugging little bit further:

image

i found that the entityId is not copied, but on the UI i also do not see the fields to enter the speakers anymore:

image


Add-on: Node-RED Flow-based programming for the Internet of Things

Add-on version: 18.1.1 You are running the latest version of this add-on. System: Home Assistant OS 13.0 (aarch64 / raspberrypi4-64) Home Assistant Core: 2024.8.2 Home Assistant Supervisor: 2024.09.1

7c avatar Oct 03 '24 12:10 7c

Click Load sample date Format has been changed {"entity_id": "media_player.all_speaker", "message": "test" }

qkddn49 avatar Oct 04 '24 00:10 qkddn49

go to import and paste:

[{"id":"3f354c0ef8226b82","type":"api-call-service","z":"55a572a719914fec","name":"","server":"272f759e.9ee09a","version":7,"debugenabled":true,"action":"tts.cloud_say","floorId":[],"areaId":[],"deviceId":[],"entityId":["media_player.office_speaker","media_player.googlehome8713"],"labelId":[],"data":"{\"message\":\"test\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","blockInputOverrides":false,"domain":"tts","service":"cloud_say","x":570,"y":300,"wires":[[]]},{"id":"272f759e.9ee09a","type":"server","name":"Home Assistant","addon":true}]

run it, it works, once you change ANY property by editing like the title and deploy. It stops working because entityId is emptied

7c avatar Oct 04 '24 11:10 7c

Until it is updated, try using it as a temporary method as below There seems to be an error when the media turns off

화면 캡처 2024-10-05 075048 I use it like this temporarily.

qkddn49 avatar Oct 04 '24 22:10 qkddn49

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

github-actions[bot] avatar Nov 04 '24 08:11 github-actions[bot]