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

Error executing script. Invalid data for call_service at pos 1: not a valid value for dictionary value @ data['entity_id'] #188

Open
linkwellfook opened this issue Nov 26, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@linkwellfook
Copy link

HAOS version 2022.11.3
HA-Blueiris : v1.0.14

As blueiris.advanced_configurations.yaml was not generated created the helpers and script based on same config

I've enabled Generate configuration files and set logging to debug.

Below is the output
2022-11-26 14:00:07.631 ERROR (MainThread) [homeassistant.components.script.execute_cast_dropdown] Execute Cast Dropdown: Error executing script. Invalid data for call_service at pos 1: not a valid value for dictionary value @ data['entity_id'] 2022-11-26 14:00:07.645 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/script/__init__.py", line 484, in _async_run return await self.script.async_run(script_vars, context) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1524, in async_run await asyncio.shield(run.async_run()) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 409, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 453, in _async_step self._handle_exception( File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 476, in _handle_exception raise exception File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step await service_task File "/usr/src/homeassistant/homeassistant/core.py", line 1698, in async_call processed_data: dict[str, Any] = handler.schema(service_data) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 232, in __call__ return self._exec((Schema(val) for val in self.validators), v) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 355, in _exec raise e if self.msg is None else AllInvalid(self.msg, path=path) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 351, in _exec v = func(v) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable return schema(data) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 229, in _run return self._exec(self._compiled, value, path) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 355, in _exec raise e if self.msg is None else AllInvalid(self.msg, path=path) File "/usr/local/lib/python3.10/site-packages/voluptuous/validators.py", line 353, in _exec v = func(path, v) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 818, in validate_callable return schema(data) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__ return self._compiled([], data) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 595, in validate_dict return base_validate(path, iteritems(data), out) File "/usr/local/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 433, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: not a valid value for dictionary value @ data['entity_id']

Not sure how to proceed from here.

@kramttocs
Copy link
Collaborator

So just checking that checkbox and submitting?

@linkwellfook
Copy link
Author

linkwellfook commented Nov 26, 2022 via email

@kramttocs
Copy link
Collaborator

This functionality is actually deprecated. I need to remove it

@kramttocs kramttocs self-assigned this Dec 5, 2022
@kramttocs kramttocs added the bug Something isn't working label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants