sam43434 / remootio

remootio
18 stars 29 forks source link

Integration is not loading correctly #26

Open fireheadman opened 2 months ago

fireheadman commented 2 months ago

Getting this error in logs...

2024-06-25 13:12:46.433 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Front Gate for remootio
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/remootio/__init__.py", line 38, in async_setup_entry
    remootio_client: RemootioClient = await create_client(
                                      ^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/remootio/utils.py", line 91, in create_client
    await _check_api_version(result)
  File "/config/custom_components/remootio/utils.py", line 34, in _check_api_version
    if api_version < EXPECTED_MINIMUM_API_VERSION:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'NoneType' and 'int'

image

image

fireheadman commented 2 months ago

image