Skip to content
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

Integration is not loading correctly #26

Open
fireheadman opened this issue Jun 25, 2024 · 1 comment
Open

Integration is not loading correctly #26

fireheadman opened this issue Jun 25, 2024 · 1 comment

Comments

@fireheadman
Copy link

fireheadman commented Jun 25, 2024

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
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant