-
Notifications
You must be signed in to change notification settings - Fork 20
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
HA update 2023.5 breaks integration #42
Comments
#43 This one is working for me. Just changed the line with the File Editor. |
I edited the file in vi, rebooted HA and my bdr is up and running again! thx alot dude |
I also modified custom_components/bdr_thermostat/init.py |
So only change line 62: to right? |
yes but add the await command too and give your HA a reboot and it works again :) |
don’t know why but sensors are all unavailable. Integration is loading, but no sensors. This error originated from a custom integration.
|
Please check, that you not forgot the |
Can you please post the lines? I uploaded mine in the post before. thanks |
Change line 62 from:
to
|
Oke, thanks for the quick help. i tried to make two lines and the old line 62 is now 63. On 62 i only put ‘await’ with an single space in front. Now not integration is not loading. Tried with and without the space in front of await. but with await on the same line (62) it works. Thanks for the help. I misread i think, on my phone screen the line is cut :) |
I have also fixed this #43, #40 and some other small changes in my fork. You can use that if you want (or fork that): |
Too bad it doesn't work: sensor.bdr_thermostat_status |
Something in the latest update breaks the integration,
when rolling back to previous it works again
the error in the log:
Error setting up entry BDR Thermostat for bdr_thermostat Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/bdr_thermostat/__init__.py", line 62, in async_setup_entry hass.config_entries.async_setup_platforms(config_entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
The text was updated successfully, but these errors were encountered: