elad-bar / ha-blueiris

Integration with Blue Iris Video Security Software
179 stars 42 forks source link

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 1 year ago

linkwellfook commented 1 year ago

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 commented 1 year ago

So just checking that checkbox and submitting?

linkwellfook commented 1 year ago

Hi,

Yes the check box was checked and submit button pressed. Not sure if if this valid if I go back into the integration the settings appear as unchecked.

Regards

On Sat 26 Nov 2022, 14:15 kramttocs, @.***> wrote:

So just checking that checkbox and submitting?

— Reply to this email directly, view it on GitHub https://github.com/elad-bar/ha-blueiris/issues/188#issuecomment-1328054077, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACP56OKJLMU74N4KHLW6NRLWKILPDANCNFSM6AAAAAASMANPVQ . You are receiving this because you authored the thread.Message ID: @.***>

kramttocs commented 1 year ago

This functionality is actually deprecated. I need to remove it