aijayadams / hass-blueair

BlueAir sensor integration for HomeAssistant
34 stars 15 forks source link

Migrate to use async_forward_entry_setups #20

Open mmaarrkk02 opened 1 year ago

mmaarrkk02 commented 1 year ago

Replaces deprecated async_setup_platforms with async_forward_entry_setups

This PR is related to issue: #19

kokoon commented 1 year ago

This good to merge?

LeeroyDing commented 1 year ago

Looks trivial enough, should be safe to merge. Still need @aijayadams to have a look.

TheTravelAddict commented 1 year ago

as an FYI: This change fixed my issue. I know others are also experiencing it. Please merge

sigio commented 1 year ago

Pulling this fixes the integration now working in 2023.06 as well... please merge ;)

Tokynet commented 1 year ago

@aijayadams BUMP :)

maxgoldberg commented 1 year ago

Please merge!

zx8 commented 11 months ago

Since this repo seems abandoned, I've migrated over to https://github.com/baihuqian/hass-blueair which also supports the newer AWS API.

kokoon commented 11 months ago

Since this repo seems abandoned, I've migrated over to https://github.com/baihuqian/hass-blueair which also supports the newer AWS API.

This is not working for EU accounts, @mmaarrkk02 repo works.

kokoon commented 5 months ago

@mmaarrkk02 sorry to bother you, but your code stopped working with the last core update - now fails with ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

you think it's easily fixable?

TheTravelAddict commented 5 months ago

This does not necessarily sound like an error with the plug in specifically - That error message is indicative of your HASS server's SSL certificate being invalid. Usually because it expired or it was accessed not through the Domain Name in use by the cert - this happens to me when DuckDNS can't for whatever reason refresh the dyndns record.

kokoon commented 5 months ago

This does not necessarily sound like an error with the plug in specifically - That error message is indicative of your HASS server's SSL certificate being invalid. Usually because it expired or it was accessed not through the Domain Name in use by the cert - this happens to me when DuckDNS can't for whatever reason refresh the dyndns record.

Thanks for your reply! I'm using HA Cloud (Nabu Casa) if that makes any difference. Also, I haven't had troubles with any of the other integrations and I have quite a few. Are you using the blueair integration?