Skip to content

Invalid data for call_service at pos 1: must contain at least one of entity_id, device_id, area_id, floor_id, label_id. #343

@shehabaldien

Description

@shehabaldien

hi
i had a home assistant running on sonoff local host befor 2 months , installed stream deck HA plugin and everything work all right ,no problem happened to me
add the web url , access token , choose the light , short press action toggle , every thing good and the light worked

last wed , i changed my server to a RPI4 , now when i add the light to my stream deck and press it , the log or history showed my these two errors at the same time i pressed the button of that action in my stram deck ::

Logger: homeassistant.helpers.script.websocket_api_script
Source: helpers/script.py:2058
First occurred: 12:10:16 PM (15 occurrences)
Last logged: 12:35:36 PM

websocket_api script: Error executing script. Invalid data for call_service at pos 1: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.

also this one :
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:315
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:10:16 PM (15 occurrences)
Last logged: 12:35:36 PM

[547315339696] Error handling message: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.. Got {'id': 4, 'type': 'execute_script', 'sequence': [{'data': {}, 'action': 'light.turn_on'}]} (invalid_format) Ahmed Dhiya from 192.168.100.2 (Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.7.3 Chrome/118.0.5993.220 Safari/537.36)
[547315339696] Error handling message: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.. Got {'id': 6, 'type': 'execute_script', 'sequence': [{'data': {}, 'action': 'light.toggle'}]} (invalid_format) Ahmed Dhiya from 192.168.100.2 (Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.7.3 Chrome/118.0.5993.220 Safari/537.36)
[547315339696] Error handling message: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.. Got {'id': 7, 'type': 'execute_script', 'sequence': [{'data': {}, 'action': 'light.toggle'}]} (invalid_format) Ahmed Dhiya from 192.168.100.2 (Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.7.3 Chrome/118.0.5993.220 Safari/537.36)
[547315339696] Error handling message: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.. Got {'id': 8, 'type': 'execute_script', 'sequence': [{'data': {}, 'action': 'light.toggle'}]} (invalid_format) Ahmed Dhiya from 192.168.100.2 (Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.7.3 Chrome/118.0.5993.220 Safari/537.36)
[547315339696] Error handling message: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.. Got {'id': 9, 'type': 'execute_script', 'sequence': [{'data': {}, 'action': 'light.toggle'}]} (invalid_format) Ahmed Dhiya from 192.168.100.2 (Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.7.3 Chrome/118.0.5993.220 Safari/537.36)

i didn,t mess with the json field and leave it empty

the wired thing that my sonoff local host work straightly without any problem with this plugin

please if anyone could help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions