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

Breaking change in HA 2024.5 beta #272

Closed
mwhdc opened this issue Apr 27, 2024 · 2 comments
Closed

Breaking change in HA 2024.5 beta #272

mwhdc opened this issue Apr 27, 2024 · 2 comments

Comments

@mwhdc
Copy link

mwhdc commented Apr 27, 2024

Hubitat integration fails to set up entities in b0 and b1. An identical error is thrown for every domain that the Hubitat integration tries to populate (in my case, alarm_control_panel, cover, light, lock, switch, fan).

2024-04-27 11:38:55.271 ERROR (MainThread) [homeassistant.components.alarm_control_panel] Error while setting up hubitat platform for alarm_control_panel
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/hubitat/alarm_control_panel.py", line 195, in async_setup_entry
    create_and_add_entities(
  File "/config/custom_components/hubitat/entities.py", line 29, in create_and_add_entities
    hub = get_hub(hass, config_entry.entry_id)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hubitat/hub.py", line 503, in get_hub
    return hass.data[DOMAIN][config_entry_id]
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: '[32 hex digits]'
@jason0x43
Copy link
Owner

This should be fixed in v0.9.28.

@mwhdc
Copy link
Author

mwhdc commented Apr 28, 2024

Working well with 2024.5.0b1. Thanks for the quick fix.

@mwhdc mwhdc closed this as completed Apr 28, 2024
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

2 participants