-
-
Notifications
You must be signed in to change notification settings - Fork 8
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 message in log file #34
Comments
same error here |
At this moment the API is returning The current code isn't dealing with this in a correct way, I'll have a fix for that in #31 as well |
Hope this helps. If I reload the module I get this in the log files. Logger: homeassistant.components.weather Error adding entities for domain weather with platform knmi |
Hi @haaino Please star this repository if you like this integration, this recognition drives me to work on this and keep on improving it :-) |
Works like a charm |
Did you read the instructions?
The problem
Hi,
I’m getting the following errors in my log file
—-
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/knmi/weather.py:104
Integration: KNMI (documentation, issues)
First occurred: 01:06:39 (96 occurrences)
Last logged: 09:01:39
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 151, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 110, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 339, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 532, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 572, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/usr/src/homeassistant/homeassistant/components/weather/init.py", line 698, in state_attributes
if self.forecast is not None:
File "/config/custom_components/knmi/weather.py", line 104, in forecast
int(super().get_data(f"d{i}windrgr"))
ValueError: invalid literal for int() with base 10: ''
I do not know if they are related to issue #33 ?
What version of this integration has the issue?
1.1.11
What version of Home Assistant Core has the issue?
2022.7.5
Home Assistant log
Additional information
No response
The text was updated successfully, but these errors were encountered: