From 8d00385127175c9a3276ffcdb033dc43eaf1fba0 Mon Sep 17 00:00:00 2001 From: Brandon Chen Date: Sun, 7 Jul 2024 16:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=AD=20improve=20for=20dmaker.fan.p28?= =?UTF-8?q?=20(#1709)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 6122bd73b..7e228a36c 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -530,8 +530,9 @@ 'percentage_property': 'prop.2.6', }, 'dmaker.fan.p28': { + 'switch_properties': 'alarm,horizontal_swing,vertical_swing,swing_all,off_to_center', 'percentage_property': 'speed_level', - 'button_properties': 'swing_updown_manual,swing_lr_manual,back_to_center', + 'button_properties': 'swing_updown_manual,swing_lr_manual,back_to_center,start_left,start_right,start_up,start_down', }, 'dmaker.fan.p33': { 'percentage_property': 'prop.2.6',