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 creating commands file #12

Open
ghost opened this issue Apr 19, 2019 · 1 comment
Open

Error creating commands file #12

ghost opened this issue Apr 19, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 19, 2019

Hi,
when I create the commands.yaml file I get this error

expected dict for dictionary value @ data['comandi']['off'] Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py", line 122, in handle_call_service connection.context(msg)) File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1138, in async_call self._execute_service(handler, service_call)) File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1160, in _execute_service await handler.func(service_call) File "/usr/local/lib/python3.7/site-packages/homeassistant/components/automation/__init__.py", line 155, in reload_service_handler conf = await component.async_prepare_reload() File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py", line 272, in async_prepare_reload conf_util.async_hass_config_yaml(self.hass) File "/usr/local/lib/python3.7/site-packages/homeassistant/config.py", line 318, in async_hass_config_yaml return await hass.async_add_executor_job(_load_hass_yaml_config) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/site-packages/homeassistant/config.py", line 315, in _load_hass_yaml_config merge_packages_config(hass, config, core_config.get(CONF_PACKAGES, {})) File "/usr/local/lib/python3.7/site-packages/homeassistant/config.py", line 644, in merge_packages_config PACKAGES_CONFIG_SCHEMA(packages) File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/config_validation.py", line 391, in verify return schema(value) File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 267, in __call__ return self._compiled([], data) File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 589, in validate_dict return base_validate(path, iteritems(data), out) File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 427, in validate_mapping raise er.MultipleInvalid(errors) voluptuous.error.MultipleInvalid: **expected dict for dictionary value @ data['comandi']['off']**

I simply copypasted the one you provided

@Anonym-tsk
Copy link
Owner

Please provide your commands file and configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant