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

ERRORE COSA SBAGLIO AIUTO #98

Open
Francescol10 opened this issue Sep 11, 2023 · 0 comments
Open

ERRORE COSA SBAGLIO AIUTO #98

Francescol10 opened this issue Sep 11, 2023 · 0 comments

Comments

@Francescol10
Copy link

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: homeassistant.config_entries
Source: custom_components/myhome/validate.py:177
Integration: MyHome (documentation, issues)
First occurred: 01:50:39 (1 occurrences)
Last logged: 01:50:39

Error setting up entry MYHOMESERVER1 Gateway for myhome
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 272, in call
return self._compiled([], data)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 561, in validate_dict
raise er.DictInvalid('expected a dictionary', path)
voluptuous.error.DictInvalid: expected a dictionary

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/myhome/init.py", line 51, in async_setup_entry
_validated_config = config_schema(yaml.safe_load(await yaml_file.read()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/myhome/validate.py", line 177, in call
data = super().call(data)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/voluptuous/schema_builder.py", line 276, in call
raise er.MultipleInvalid([e])
voluptuous.error.MultipleInvalid: expected a dictionary

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