Home Assistant Community Store
GitHub API | ok
-- | --
GitHub Content | ok
GitHub Web | ok
HACS Data | ok
GitHub API Calls Remaining | 4976
Installed Version | 2.0.1
Stage | running
Available Repositories | 1445
Downloaded Repositories | 6
AccuWeather
can_reach_server | ok
-- | --
remaining_requests | 10
Home Assistant Cloud
logged_in | false
-- | --
can_reach_cert_server | ok
can_reach_cloud_auth | ok
can_reach_cloud | ok
Dashboards
dashboards | 3
-- | --
resources | 4
views | 1
mode | storage
Recorder
oldest_recorder_run | October 18, 2024 at 1:03 PM
-- | --
current_recorder_run | October 21, 2024 at 12:28 PM
estimated_db_size | 17.86 MiB
database_engine | sqlite
database_version | 3.45.3
Checklist
[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..
Describe the issue
I just installed and entered my username/password info then I got the error.
Reproduction steps
Install via HACS
Enter login info
Debug logs
Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 12:30:23 PM (3 occurrences)
Last logged: 12:31:44 PM
Error setting up entry REHAU Nea Smart 2.0 API for rehau_nea_smart_2
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/rehau_nea_smart_2/__init__.py", line 27, in async_setup_entry
await controller.connect()
File "/config/custom_components/rehau_nea_smart_2/rehau_mqtt_client/Controller.py", line 33, in connect
await self.mqtt_client.auth_user()
File "/config/custom_components/rehau_nea_smart_2/rehau_mqtt_client/MqttClient.py", line 310, in auth_user
await self.set_user(user)
File "/config/custom_components/rehau_nea_smart_2/rehau_mqtt_client/MqttClient.py", line 388, in set_user
await self.set_installations(user["installs"])
File "/config/custom_components/rehau_nea_smart_2/rehau_mqtt_client/MqttClient.py", line 332, in set_installations
await self.update_installations(installations)
File "/config/custom_components/rehau_nea_smart_2/rehau_mqtt_client/MqttClient.py", line 338, in update_installations
self.installations = parse_installations(installations, self.last_operating_mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rehau_nea_smart_2/rehau_mqtt_client/handlers/installation.py", line 27, in parse_installations
"global_energy_level": get_global_energy_level(installation).value,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rehau_nea_smart_2/rehau_mqtt_client/utils/energy_levels.py", line 22, in get_global_energy_level
for group in installation["groups"]:
~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'groups'
System Health details
System Information
Home Assistant Community Store
GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 4976 Installed Version | 2.0.1 Stage | running Available Repositories | 1445 Downloaded Repositories | 6AccuWeather
can_reach_server | ok -- | -- remaining_requests | 10Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okDashboards
dashboards | 3 -- | -- resources | 4 views | 1 mode | storageRecorder
oldest_recorder_run | October 18, 2024 at 1:03 PM -- | -- current_recorder_run | October 21, 2024 at 12:28 PM estimated_db_size | 17.86 MiB database_engine | sqlite database_version | 3.45.3Checklist
Describe the issue
I just installed and entered my username/password info then I got the error.
Reproduction steps
Debug logs
Diagnostics dump
config_entry-hacs-01JAFZXXNQNHT36EDDBPBDB10F.json