diff --git a/custom_components/xiaomi_gateway3/core/devices.py b/custom_components/xiaomi_gateway3/core/devices.py index 831a1c5b..2d885adb 100644 --- a/custom_components/xiaomi_gateway3/core/devices.py +++ b/custom_components/xiaomi_gateway3/core/devices.py @@ -5079,6 +5079,15 @@ BaseConv("target_position", mi="2.p.4"), BoolConv("motor_reverse", "switch", mi="2.p.5", entity=ENTITY_CONFIG), # config ], +}, { + 19534: ["Mean Well", "Smart Chromatic Controller", "ftd.light.nomain"], + "spec": [ + BaseConv("light", "light", mi="2.p.1"), + BrightnessConv("brightness", mi="2.p.2", max=100), + ColorTempKelvin("color_temp", mi="2.p.3", mink=3000, maxk=6500), + BaseConv("flex_switch", "switch", mi="2.p.12", entity=ENTITY_CONFIG), + MapConv("mode","select",mi="2.p.13", map={0: "None", 1: "Day", 2: "Night", 3: "Warmth", 4: "TV", 5: "Reading", 6: "Computer", 7: "Sleep", 8: "Wakeup"}), + ], }, { "default": "mesh", # default Mesh device "spec": [