From 5735e57bbc7fe82f939fbc7f47321e09f1c6bfeb Mon Sep 17 00:00:00 2001 From: HonLuk Date: Sat, 21 Dec 2024 20:48:18 +0800 Subject: [PATCH 1/2] add wlg.light.wy0a03 --- custom_components/xiaomi_gateway3/core/devices.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/xiaomi_gateway3/core/devices.py b/custom_components/xiaomi_gateway3/core/devices.py index 02ecaf2c..297506e1 100644 --- a/custom_components/xiaomi_gateway3/core/devices.py +++ b/custom_components/xiaomi_gateway3/core/devices.py @@ -3510,6 +3510,7 @@ ] }, { 17970: ["MVS", "MVS Mesh Light", "mvs.light.wy0a02"], + 21676: ["WLG", "Smart Light", "wlg.light.wy0a03"], "spec": [ BaseConv("light", "light", mi="2.p.1"), BrightnessConv("brightness", mi="2.p.2", max=100), From f3047703a5cf826a8464f161a6ba39cd92bfc88a Mon Sep 17 00:00:00 2001 From: HonLuk Date: Sat, 21 Dec 2024 21:36:11 +0800 Subject: [PATCH 2/2] add wlg.light.wy0a03 support --- custom_components/xiaomi_gateway3/core/devices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/xiaomi_gateway3/core/devices.py b/custom_components/xiaomi_gateway3/core/devices.py index 297506e1..0d73f08a 100644 --- a/custom_components/xiaomi_gateway3/core/devices.py +++ b/custom_components/xiaomi_gateway3/core/devices.py @@ -3510,7 +3510,7 @@ ] }, { 17970: ["MVS", "MVS Mesh Light", "mvs.light.wy0a02"], - 21676: ["WLG", "Smart Light", "wlg.light.wy0a03"], + 21676: ["WLG", "WLG Mesh Light", "wlg.light.wy0a03"], "spec": [ BaseConv("light", "light", mi="2.p.1"), BrightnessConv("brightness", mi="2.p.2", max=100),