Closed PioSkot closed 2 years ago
Thank you for your interest.. ;) P.
śr., 4 maj 2022 o 18:48 Erik Kastelec @.***> napisał(a):
- Did you try to restart your Home Assistant instance?
- Can you provide configuration for wemportal component
- Did you make any changes/updates?
- Is wemportal component updated to the latest version?
— Reply to this email directly, view it on GitHub https://github.com/erikkastelec/hass-WEM-Portal/issues/30#issuecomment-1117577198, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWQ2GNEYT6KWVMCETDIJHN3VIKS5FANCNFSM5VBXRPSA . You are receiving this because you authored the thread.Message ID: @.***>
wemportal:
language: en
mode: api
username: your_username
password: your_password
It changed a lot ..;) Now the log is longer.
Logger: homeassistant.setup Source: helpers/update_coordinator.py:164 First occurred: 19:30:45 (1 occurrences) Last logged: 19:30:45
Error during setup of component wemportal Traceback (most recent call last): File "/config/custom_components/wemportal/coordinator.py", line 29, in _async_update_data return await self.hass.async_add_executor_job(self.api.fetch_data) asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 190, in _async_refresh self.data = await self._async_update_data() File "/config/custom_components/wemportal/coordinator.py", line 29, in _async_update_data return await self.hass.async_add_executor_job(self.api.fetch_data) File "/usr/local/lib/python3.9/site-packages/async_timeout/init.py", line 129, in aexit self._do_exit(exc_type) File "/usr/local/lib/python3.9/site-packages/async_timeout/init.py", line 212, in _do_exit raise asyncio.TimeoutError asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component result = await task File "/config/custom_components/wemportal/init.py", line 65, in async_setup await coordinator.async_config_entry_first_refresh() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 164, in async_config_entry_first_refresh raise ex homeassistant.exceptions.ConfigEntryNotReady
Try restarting Home Assistant again. If restart does not work I will fix the code and let you know when the update is ready.
Restarting doesn't help. So I am waiting for the new version.
You can try out the new release (1.3.5). Let me know if it helps.
It helped. Thank You.
It worked and suddenly it stopped. Logs:
Logger: homeassistant.setup Source: custom_components/wemportal/init.py:44 Integration: wemportal (documentation, issues) First occurred: 13:44:59 (1 occurrences) Last logged: 13:44:59
Error during setup of component wemportal Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component result = await task File "/config/custom_components/wemportal/init.py", line 44, in async_setup if config[DOMAIN].get(CONF_MODE) == "web": KeyError: 'wemportal'