Skip to content

Integration is not loading correctly #26

@fireheadman

Description

@fireheadman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions