diff --git a/custom_components/xiaomi_gateway3/core/converters/devices.py b/custom_components/xiaomi_gateway3/core/converters/devices.py index 7b28a56d..a74be0df 100644 --- a/custom_components/xiaomi_gateway3/core/converters/devices.py +++ b/custom_components/xiaomi_gateway3/core/converters/devices.py @@ -1769,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": [