From bbbc9f646ffe10fe7f07db306d84de62764e934c Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Wed, 21 Jun 2023 23:57:33 +0200 Subject: [PATCH] Bump Matter Server to 3.5.1: some small fixes and stability improvements (#94985) --- homeassistant/components/matter/adapter.py | 4 ++-- homeassistant/components/matter/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/matter/adapter.py b/homeassistant/components/matter/adapter.py index 7d73ceafc7a..9f16dae8334 100644 --- a/homeassistant/components/matter/adapter.py +++ b/homeassistant/components/matter/adapter.py @@ -92,7 +92,7 @@ class MatterAdapter: get_clean_name(basic_info.nodeLabel) or get_clean_name(basic_info.productLabel) or get_clean_name(basic_info.productName) - or device_type.__class__.__name__ + or device_type.__name__ if device_type else None ) @@ -117,7 +117,7 @@ class MatterAdapter: identifiers.add((DOMAIN, f"{ID_TYPE_SERIAL}_{basic_info.serialNumber}")) model = ( - get_clean_name(basic_info.productName) or device_type.__class__.__name__ + get_clean_name(basic_info.productName) or device_type.__name__ if device_type else None ) diff --git a/homeassistant/components/matter/manifest.json b/homeassistant/components/matter/manifest.json index 5af01f2eea5..707f7e70ee3 100644 --- a/homeassistant/components/matter/manifest.json +++ b/homeassistant/components/matter/manifest.json @@ -6,5 +6,5 @@ "dependencies": ["websocket_api"], "documentation": "https://www.home-assistant.io/integrations/matter", "iot_class": "local_push", - "requirements": ["python-matter-server==3.4.1"] + "requirements": ["python-matter-server==3.5.1"] } diff --git a/requirements_all.txt b/requirements_all.txt index 8ff40d3a70e..2adc8445293 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2087,7 +2087,7 @@ python-kasa==0.5.1 # python-lirc==1.2.3 # homeassistant.components.matter -python-matter-server==3.4.1 +python-matter-server==3.5.1 # homeassistant.components.xiaomi_miio python-miio==0.5.12 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 56a11b87c4c..f470ffb31ee 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1522,7 +1522,7 @@ python-juicenet==1.1.0 python-kasa==0.5.1 # homeassistant.components.matter -python-matter-server==3.4.1 +python-matter-server==3.5.1 # homeassistant.components.xiaomi_miio python-miio==0.5.12