From 9daa24784ed74f4e1ed68d98396ed547e19c74eb Mon Sep 17 00:00:00 2001 From: Alone Date: Tue, 26 Sep 2023 18:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=80=20improve=20for=20dmaker.fan.p5c?= =?UTF-8?q?=20(#1277)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 994b7a0e1..67b228b74 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -406,6 +406,11 @@ 'dmaker.fan.p5': { 'percentage_property': 'prop.2.6', }, + 'dmaker.fan.p5c': { + 'percentage_property': 'speed_level', + 'button_actions': 'turn_left,turn_right,toggle_mode,loop_gear', + 'number_properties': 'off_delay_time', + }, 'dmaker.fan.p11': { 'percentage_property': 'prop.2.6', # issues/838 },