-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Matter Error; #124026
Comments
Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) matter documentation |
What kind of devices do you have ? Any non certified devices as well perhaps ? |
I have lots of Hue devices and several knx devices connected to a 1home
server which is a matter device.
All the devices still work via Google home or the smartthings app. So I think it's not a matter / 1home server problem.
|
That it works via Google or Samsung doesn't mean anything. Home Assistant is most ahead of the game regarding Matter/device support so any compatibility issues will reveal itself in an early stage in HA. So for example the KeyError that is causing the crash in your case; the device sends a spec incompliant value. |
Can I somehow identify which device is causing the error? Maybe I can then deactivate that temporarily as a workaround? |
I have the same error and I also use the 1Home server. Pretty good chance that's what causing it. |
Nice, thanks for the info. Hope they can fix it. |
The problem
Since the last update, the Matter integration is not working anymore. All of my Matter devices are not accessible over home assistant:
Since the devices are still working with Google Home or SmartThings, it is a HA problem.
What version of Home Assistant Core has the issue?
core-2024.8.1
What was the last working version of Home Assistant Core?
core-2024.7.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Matter
Link to integration documentation on our website
https://www.home-assistant.io/integrations/matter
Diagnostics information
2024-08-16 08:01:48.352 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration stiebel_eltron_isg which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-16 08:01:48.354 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration senec which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-16 08:01:48.356 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dreame_vacuum which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-16 08:01:48.360 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-16 08:02:11.343 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call
await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/frontend", "/config/custom_components/hacs/hacs_frontend_experimental", False)])
; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 49: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues2024-08-16 08:02:11.347 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call
await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles/iconset.js", "/config/custom_components/hacs/iconset.js", True)])
; This function will be removed in 2025.7 at custom_components/hacs/frontend.py, line 57: hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues2024-08-16 08:02:11.352 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-16 08:02:11.358 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' calls hass.http.register_static_path which is deprecated because it does blocking I/O in the event loop, instead call
await hass.http.async_register_static_paths([StaticPathConfig("/hacsfiles", "/config/www/community", True)])
; This function will be removed in 2025.7 at custom_components/hacs/base.py, line 1162: self.hass.http.register_static_path(, please create a bug report at https://github.com/hacs/integration/issues2024-08-16 08:02:16.388 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Matter for matter
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/matter/init.py", line 144, in async_setup_entry
await matter.setup_nodes()
File "/usr/src/homeassistant/homeassistant/components/matter/adapter.py", line 63, in setup_nodes
self._setup_node(node)
File "/usr/src/homeassistant/homeassistant/components/matter/adapter.py", line 148, in _setup_node
self._setup_endpoint(endpoint)
File "/usr/src/homeassistant/homeassistant/components/matter/adapter.py", line 225, in _setup_endpoint
new_entity = entity_info.entity_class(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/matter/entity.py", line 110, in init
self._update_from_device()
File "/usr/src/homeassistant/homeassistant/components/matter/select.py", line 76, in _update_from_device
self._attr_current_option = value_convert(value)
^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/matter/select.py", line 232, in
measurement_to_ha=lambda x: {
^
KeyError: 255
2024-08-16 08:02:36.207 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 642: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues
2024-08-16 08:03:21.478 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.stiebel_eltron_isg_ventilaction_air_actual_fan_speed (Hz) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
2024-08-16 08:03:21.478 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.stiebel_eltron_isg_ventilaction_air_target_fan_speed (m³/h) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
2024-08-16 08:03:21.478 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.stiebel_eltron_isg_extract_air_actual_fan_speed (Hz) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
2024-08-16 08:03:21.478 WARNING (Recorder) [homeassistant.components.sensor.recorder] The unit of sensor.stiebel_eltron_isg_extract_air_target_fan_speed (m³/h) cannot be converted to the unit of previously compiled statistics (None). Generation of long term statistics will be suppressed unless the unit changes back to None or a compatible unit. Go to https://my.home-assistant.io/redirect/developer_statistics to fix this
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: