mampfes / hacs_dwd_pollenflug Goto Github PK
View Code? Open in Web Editor NEWAdds pollen forecasts from DWD to Home Assistant.
License: MIT License
Adds pollen forecasts from DWD to Home Assistant.
License: MIT License
I really love this integration, but since the last pull (today 1 o'clock) state_tomorrow_desc is 'null'
and state_in_2_days_desc is also 'null'. The value or 'state_tomorrow' seems to be "broken" too.
Code used:
type: horizontal-stack
cards:
type: custom:mushroom-template-card
primary: Birke
secondary: '{{ state_attr(''sensor.pollenflug_birke_43'', ''state_tomorrow_desc'') }}'
icon: mdi:flower-pollen
icon_color: >-
{% if is_state_attr('sensor.pollenflug_birke_43', 'state_tomorrow', 0) or
is_state_attr("sensor.pollenflug_birke_43", "state_tomorrow", 1) or
is_state_attr("sensor.pollenflug_birke_43", "state_tomorrow", 2) %}
green
{% elif is_state_attr("sensor.pollenflug_birke_43", "state_tomorrow", 3)
or is_state_attr("sensor.pollenflug_birke_43", "state_tomorrow", 4) %}
yellow
{% else %}
red
{% endif %}
layout: vertical
Thank you!
Good day,
Today I looked at my Home Assistant log and found this entry in the log:
HA - Version: 2023.2.3
HA Operationen System: 9.5
Since Home Assistant pointed this out to me, I thought I'd share it with you so you might be able to provide an update. Thank you in advance for your efforts.
Best regards
Johnnyboy1984
Clicking the link https://my.home-assistant.io/redirect/config_flow_start?domain=dwd_pollenflug to add the integration shows the following error:
"This integration does not support configuration via the UI. If you followed this link from the Home Assistant website, make sure you run the latest version of Home Assistant."
Home Assistant 2023.5.2
Supervisor 2023.04.1
Operating System 9.5
Frontend 20230503.3 - latest
Hope you can fix it.
Thanx!
Dear @mampfes,
after installing one instance from your integration, it is not possible to install a second instance.
If i click on (Integration hinzufügen) and search to "DWD Pollenflug" i get no result
You can see the first instance in the screenshot.
It was working until last night but now it says unavailable and when clicking on it, it shows the message "This entity is no longer being provided by the dwd_pollenflug integration. If the entity is no longer in use, delete it in settings."
Hi,
my data is somehow not updated every hour. My last update was 16 hours ago. With the installation you can not really do much wrong. maybe you can help me?
Dear @mampfes,
i live in NRW, which have the region_id = 40.
But i don't live in the sub-regions with partregion_id 41, 42 or 43
During the customizing, i muss select a sub-region.
Their is no "empty" value.
After installing HomeAssistant 2023.02.0beta a new warning appeared:
Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for dwd_pollenflug using this method at custom_components/dwd_pollenflug/__init__.py, line 36: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
This could be resolved similar to HACS change:
hacs/integration@96a1a9e
The state_tomorrow is always null
state_tomorrow: null
state_in_2_days: null
state_today_desc: keine Belastung
state_tomorrow_desc: null
state_in_2_days_desc: null
last_update: 2022-03-09T11:00:00+01:00
next_update: 2022-03-10T11:00:00+01:00
attribution: Last update: 2022-03-09 11:00:00+01:00
icon: fapro:ambrosia
friendly_name: Ambrosia
Hi zusammen,
leider lässt sich die Integration bei mir nicht installieren.
Ich habe es auf dem "auto"-Weg und auch auf dem manuellen Weg probiert.
Leider erhalte ich in beiden Fällen, wenn ich dabei bin die Integration meiner HA Instanz (2024.3.3) hinzuzufügen, folgende Fehlermeldung:
Diese Integration unterstützt keine Konfiguration über die Benutzeroberfläche. Wenn du diesem Link von der Home Assistant-Website gefolgt bist, stelle sicher, dass du die neueste Version von Home Assistant ausführst.
Hat jemand eine idee, ob und wenn ja, wie ich das fixen kann ?
Falls von Entwicklerseite da eine Änderung vonnöten ist, würde ich mich sehr freuen, wenn das irgendwie funktionieren kann :)
Danke und viele Grüße
Tardar
the notification gives:
Invalid config
The following integrations and platforms could not be set up:
dwd_pollenflug.sensor
Please check your config and logs.
the log sas:
Logger: homeassistant.setup
Source: setup.py:317
First occurred: 8:44:38 AM (1 occurrences)
Last logged: 8:44:38 AM
Unable to prepare setup for platform dwd_pollenflug.sensor: Platform not found (cannot import name 'DeviceEntryType' from 'homeassistant.helpers.device_registry' (/usr/src/homeassistant/homeassistant/helpers/device_registry.py)).
I am running HA core-2021.9.7 and only update according to "don't fix it if it's not broken";-)
After update on HA 2023.2.0 i get following warning:
Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for dwd_pollenflug using this method at custom_components/dwd_pollenflug/init.py, line 36: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
Hello. Dwd Stopped working for me
2022-05-08 23:12:09 ERROR (SyncWorker_1) [custom_components.dwd_pollenflug] fetch data from DWD failed : HTTPSConnectionPool(host='opendata.dwd.de', port=443): Max retries exceeded with url: /climate_environment/health/alerts/s31fg.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)')))
I hope u can fix that spamming my log since 12.1
2021-12-19 15:29:24 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.pollenflug_esche_81 (<class 'custom_components.dwd_pollenflug.sensor.PollenflugSensorEntity'>) implements device_state_attributes. Please report it to the custom component author.
EDIT:
Sorry, didnt saw theres alreasy a fix merged but not released yet.
Merged it myself and the issue is gone, feel free to release 1.0.1 :D
Since yesterday the integration stopped working
2021-12-15 09:47:02 ERROR (SyncWorker_6) [custom_components.dwd_pollenflug] fetch data from DWD failed : 404 Client Error: Not Found for url: https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
All sensors are showing not available
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.