Note, you need v2.2.0 of the card for compatibility with the integration! This version is still in pre-release. Still testing to make sure I’m not interrupting the current users, of other integrations, before I release this one. So try it out and let me know!
Apologies. After more thorough testing, v0.2.3 now has a pruned list of countries supported by polleninformation.eu. Current list is: Austria, Switzerland, Germany, Spain, France, United Kingdom, Italy, Lithuania, Latvia, Poland, Sweden, Türkiye, Ukraine, Holy See (Vatican City State).
So this particular integration is for the service polleninformation.eu which, I’m sure, won’t ever collect data from North America. So no chance for Canada, no.
That said, I’ve already added support for three integrations to the card. Adding support for additional integrations is not a problem. In other words, if you can get information about pollen levels for Canada into home assistant, let me know what integration you use, and I can look into adding support to the card.
For instance, I know there’s a Kleenex pollen radar integration in HACS. I think it supports USA but not Canada. There is a google pollen integration, but seems somewhat of a hassle to set up. There might well be others, in addition.
So the reason why the card shows loading forecast, but is unable to present results, is that the integration has not created entities. There is nothing to show.
The question is why entities aren’t created for you. I trust you have restarted HA after installation of the integration?
I tried adding the integration, using parts of your location (if that is your home location, you might want to remove the screenshot?), and I get the expected entities.
(Screenshot redacted)
(Screenshot redacted)
Could you enable debug logging in HA for this integration, example-code for configuration.yaml:
Adapt default to your current default, and add the last line to your possibly already existing logs: -list, or copy-paste the above into your configuration.yaml.
If you could provide the relevant log-lines you find for the polleninformation -integration? So we can see what is happening. Please obfuscate your API-key and possibly your location (truncate to two decimals or some such, and/or replacing them with a random number). You can also DM me the log-lines, if you don’t want to obfuscate. It might already be obvious from what you see in the logs as-is (having enabled debugging); it might be even more clear if you remove the location that you have, and add it again.
Could you send me a PM with a screenshot of your full config for the polleninformation location entry? Including both coordinates and API key? (Wouldn’t ask otherwise, but not sure how I can troubleshoot further without it.)
So I deleted everything, restarted HA and reinstalled everything. This time it worked, and got the entities created normally !
The only thing I see being done different is that at the first installation, I did not have the API key ready so I added it later.
This time I introduced directly the API key at installation.
Not sure if this is the reason, but in all cases thanks for looking and happy it works now !
And by the way, if you put the threshold too low (like 2 if nothing is above 1…) then you still get the message “Loading forecast…”, but this could be a card issue.
if you put the threshold too low (like 2 if nothing is above 1…) then you still get the message “Loading forecast…”, but this could be a card issue.
That is indeed a card issue. It currently doesn’t differentiate well enough between different reasons for allergens not being shown, but shows the same message regardless — even though the text might not be apt for the situation. I haven’t found it to be too big of a deal to do something about it. Thank you for reminding me about the issue.