StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
616 stars 111 forks source link

[BUG] async_setup #692

Open gatonero opened 2 years ago

gatonero commented 2 years ago

Environment

Describe the bug

Steps to Reproduce

Expected behavior

Screenshots

Traceback/Error logs

Additional context

gatonero commented 2 years ago

I don't know why the log doesn't appear. Here it is again: `This error originated from a custom integration.

Logger: homeassistant.config_entries Source: custom_components/shelly/init.py:100 Integration: Shelly smart home (documentation) First occurred: 18:36:25 (17 occurrences) Last logged: 18:36:25

Error setting up entry DW2-07 for shelly Error setting up entry DW2-02 for shelly Error setting up entry TRV-Kueche for shelly Error setting up entry Plug-01 for shelly Error setting up entry Plug-02 for shelly Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/shelly/init.py", line 100, in async_setup_entry conf = CONFIG_SCHEMA_ROOT(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: extra keys not allowed @ data['host'] `