From 9230dea9efdecd7886113db526e35451aa6128ec Mon Sep 17 00:00:00 2001 From: Alone Date: Wed, 15 Nov 2023 18:09:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20improve=20for=20dooya.curtain.m7?= =?UTF-8?q?/m7li=20(#1081)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 0c0c757ea..21fbcd5aa 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -468,8 +468,15 @@ 'sensor_properties': 'status', 'switch_properties': 'mode,motor_reverse', }, + 'dooya.curtain.m7': { + 'chunk_properties': 1, + }, + 'dooya.curtain.m7li': { + 'chunk_properties': 1, + }, 'dooya.curtain.*': { 'exclude_miot_properties': 'fault', + 'switch_properties': 'motor_reverse', }, 'dreame.light.r2229': { 'sensor_properties': 'interaction_gesture',