diff --git a/custom_components/xiaomi_gateway3/core/converters/devices.py b/custom_components/xiaomi_gateway3/core/converters/devices.py index 5ea400d8..a74be0df 100644 --- a/custom_components/xiaomi_gateway3/core/converters/devices.py +++ b/custom_components/xiaomi_gateway3/core/converters/devices.py @@ -1685,6 +1685,7 @@ # brightness 1..100, color_temp 2700..6500 3416: ["PTX", "Mesh Downlight", "090615.light.mlig01"], 4924: ["PTX", "Mesh Downlight", "090615.light.mlig02"], + 15169: ["PTX", "Mesh Downlight", "090615.light.mylg04"], "spec": [ Converter("light", "light", mi="2.p.1"), BrightnessConv("brightness", mi="2.p.2", parent="light", max=100), @@ -1768,6 +1769,18 @@ 15: "sleep" }) ] +}, { + 15745: ["Yeelight", "Mesh Downlight Z1", "YCCSLI001"], # justbin95 + "spec": [ + Converter("light", "light", mi="2.p.1"), + BrightnessConv("brightness", mi="2.p.2", parent="light", max=100), + ColorTempKelvin("color_temp", mi="2.p.3", parent="light", mink=2700, maxk=6000), + MapConv("mode", "select", mi="2.p.7", map={ + 0: "WY", 4: "Lighting", 5: "Night Light", 7: "Warmth", 8: "TV", 9: "Reading", 10: "Computer", + 11: "Hospitality", 12: "Entertainment", 13: "Wake Up", 14: "Dusk", + 15: "Sleep", 16: "Mode-1", 17: "Mode-2", 18: "Mode-3", 19: "Mode-4" + }) + ] }, { 12455: ["Yeelight", "K Series Single Wall Switch", "YLYKG-0025/0020"], "spec": [