diff --git a/custom_components/xiaomi_gateway3/core/devices.py b/custom_components/xiaomi_gateway3/core/devices.py index b805fad3..0c70e5d1 100644 --- a/custom_components/xiaomi_gateway3/core/devices.py +++ b/custom_components/xiaomi_gateway3/core/devices.py @@ -3846,6 +3846,15 @@ ConstConv("action", mi="14.e.2", value=BUTTON_DOUBLE), ConstConv("action", mi="14.e.3", value=BUTTON_HOLD), ], +}, { + 17182: ["Zemismart", "Smart Curtain", "zemi.curtain.zm85"], + "spec": [ + MapConv("motor", "cover", mi="2.p.1", map={0: "stop", 1: "open", 2: "close"}), + BaseConv("target_position", mi="2.p.3"), + CurtainPosConv("position", mi="2.p.4"), + MapConv("run_state", mi="2.p.5", map={0: "stop", 1: "opening", 2: "closing"}), + BaseConv("motor_reverse", "switch", mi="2.p.6"), + ], }, { "default": "mesh", # default Mesh device "spec": [