sebr / bhyve-home-assistant

Orbit BHyve custom component for Home Assistant
MIT License
252 stars 42 forks source link

Error setting up entry [username] for bhyve #176

Closed tekwreck closed 1 year ago

tekwreck commented 1 year ago

Describe the bug Initial setup with integration using the Wifi Hub with the Water Hose Timer (4 port). Username / Password work fine then ask me to select the device which shows the Water Timer. The config UI closes and just shows error on the Integrations page for this integrations

Logger: homeassistant.config_entries Source: custom_components/bhyve/init.py:124 Integration: Orbit B-hyve (documentation) First occurred: 2:51:40 PM (1 occurrences) Last logged: 2:51:40 PM

Error setting up entry [myusername] for bhyve Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/bhyve/init.py", line 124, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_forward_entry_setups'

Expected behaviour I assume no error

BHyve devices WIfi Hub 4 port hose timer

Device Diagnostics

sebr commented 1 year ago

Which version of HA are you running? The integration has a minimum supported version of 2022.8.

tekwreck commented 1 year ago

Thanks I upgraded HA and it resolved itself.