j-lindvig / pollen_dk Goto Github PK
View Code? Open in Web Editor NEWScraping of pollen count in Denmark
License: GNU General Public License v3.0
Scraping of pollen count in Denmark
License: GNU General Public License v3.0
Have same problem, need to restart ha for update
The integration works fine, but only updates when HA is restarted.
I have tried to make a service call in an automation to reload the integration, like I also do for other integrations, but cannot find this integration in automation.
Is it supposed to automatically pull new data every day, or only when a service call is made?
I can see others on Facebook DK HA group are having same issue.
Får følgende fejl, har prøvet at fjerne og installer igen
Home Assistant Core 2022.6.7
Home Assistant Supervisor 2022.05.3
Home Assistant OS 8.2
Pollen_DK v0.2
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 191, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 150, in _async_update_data
return await self.update_method()
File "/config/custom_components/pollen_dk/sensor.py", line 32, in async_update_data
await hass.async_add_executor_job(pollen_DK.update)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/pollen_dk/pollen_dk_api.py", line 32, in update
if int(regionID) in self._regionIDs:
ValueError: invalid literal for int() with base 10: 'name'
From my HA .log:
2024-05-08 22:05:09.973 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'pollen_dk' accesses hass.helpers.discovery. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from discovery directly at custom_components/pollen_dk/__init__.py, line 54: hass.helpers.discovery.async_load_platform(CONF_PLATFORM, DOMAIN, conf, config), please create a bug report at https://github.com/J-Lindvig/Pollen_DK/issues
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.