sebr / bhyve-home-assistant

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

Failed to set up. Check the logs #213

Closed TGSnedecor closed 1 year ago

TGSnedecor commented 1 year ago

I just added a new B-hyve smart sprinkler valve. I have an account successfully set up with Orbit. I thought I followed the instructions. I installed the software from HACS, and restarted homeassistant. I selected the integration and installed it. I entered my credentials. It found my hose timer. I went to the integration and got the error message above. I checked the logs and found the following:

Log Details (ERROR) This error originated from a custom integration. Logger: homeassistant.config_entries Source: custom_components/bhyve/init.py:124 Integration: Orbit B-hyve (documentation) First occurred: 4:45:13 PM (1 occurrences) Last logged: 4:45:13 PM

Error setting up entry thesxxxxx@hotmail.com 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'

sebr commented 1 year ago

Which version of HA?

TGSnedecor commented 1 year ago

2022.4.7 (8.5)

sebr commented 1 year ago

Right - the integration needs 2023.3 or later. I'll update the manifest to fail on earlier versions.

TGSnedecor commented 1 year ago

Thanks for the info. Once I've got the courage to update, I'll try again.