From f6505db9d004ddb6291212bd202e559c3ae60e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Fri, 2 May 2025 22:13:18 +0200 Subject: [PATCH 1/2] Add Mounted Dimmable load device type (1.4) Adding the new Mounted Dimmable load device type --- matter_server/client/models/device_types.py | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/matter_server/client/models/device_types.py b/matter_server/client/models/device_types.py index e43a5fe5..1b93fa45 100644 --- a/matter_server/client/models/device_types.py +++ b/matter_server/client/models/device_types.py @@ -154,6 +154,30 @@ class DimmableLight(DeviceType, device_type=0x0101): } +class MountedOnOffControl(DeviceType, device_type=0x010F): + """Mounted On/Off Control.""" + + clusters = { + all_clusters.Groups, + all_clusters.Identify, + all_clusters.LevelControl, + all_clusters.OnOff, + all_clusters.ScenesManagement, + } + + +class MountedDimmableLoadControl(DeviceType, device_type=0x0110): + """Mounted Dimmable Load Control.""" + + clusters = { + all_clusters.Groups, + all_clusters.Identify, + all_clusters.LevelControl, + all_clusters.OnOff, + all_clusters.ScenesManagement, + } + + class ColorTemperatureLight(DeviceType, device_type=0x010C): """Color Temperature Light.""" From f6aa55ce36cec6931dda29bb8e91b447967aa1ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20BOU=C3=89?= Date: Fri, 2 May 2025 22:32:17 +0200 Subject: [PATCH 2/2] Update descriptions.ts --- dashboard/src/client/models/descriptions.ts | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/dashboard/src/client/models/descriptions.ts b/dashboard/src/client/models/descriptions.ts index 89ef386e..a7d70ee6 100644 --- a/dashboard/src/client/models/descriptions.ts +++ b/dashboard/src/client/models/descriptions.ts @@ -135,6 +135,28 @@ export const device_types: Record = { 98 ] }, + "271": { + "id": 271, + "label": "Mounted On/Off Control", + "clusters": [ + 98, + 3, + 4, + 6, + 8 + ] + }, + "272": { + "id": 272, + "label": "Mounted Dimmable Load Control", + "clusters": [ + 98, + 3, + 4, + 6, + 8 + ] + }, "268": { "id": 268, "label": "Color Temperature Light",