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

Invalid everlights hub ip address on new install with HA 2023.12.0 #4

Open
stogs opened this issue Dec 7, 2023 · 0 comments
Open

Comments

@stogs
Copy link

stogs commented Dec 7, 2023

I tried to do an install of everlights3 on 2023.12.0. This is the first time I have installed the new integration. I am getting the following error:

This error originated from a custom integration.

Logger: custom_components.everlights3.light
Source: custom_components/everlights3/light.py:34
Integration: Everlights 3.0 (documentation)
First occurred: 10:13:37 AM (2 occurrences)
Last logged: 10:14:30 AM

invalid everlights hub ip address or hub is unavailable
Traceback (most recent call last):
  File "/config/custom_components/everlights3/light.py", line 34, in async_setup_entry
    sdata = get_v1.sync(client=client)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/everlights3/client/api/default/get_v1.py", line 76, in sync
    return sync_detailed(
           ^^^^^^^^^^^^^^
  File "/config/custom_components/everlights3/client/api/default/get_v1.py", line 60, in sync_detailed
    return _build_response(client=client, response=response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/everlights3/client/api/default/get_v1.py", line 37, in _build_response
    parsed=_parse_response(client=client, response=response),
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/everlights3/client/api/default/get_v1.py", line 23, in _parse_response
    response_200 = Status.from_dict(response.json())
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/everlights3/client/models/status.py", line 97, in from_dict
    zones_item = Zone.from_dict(zones_item_data)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/everlights3/client/models/zone.py", line 97, in from_dict
    last_active_date = d.pop("lastActiveDate")
                       ^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'lastActiveDate'

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