From 1410332e02d49847cd012d97788953e977ce016d Mon Sep 17 00:00:00 2001 From: Alone Date: Tue, 29 Oct 2024 13:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20add=20support=20for=20opple.ligh?= =?UTF-8?q?t.dcfan2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 2e36dd60f6..73a2c08dd2 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -1123,6 +1123,14 @@ 'number_properties': 'function_countdown.warm,function_countdown.blower,' 'function_countdown.breath,function_countdown,shutdown', }, + 'opple.light.dcfan2': { + 'sensor_properties': 'temperature', + 'switch_properties': 'cycle_switch,mode_switch,switch,intelligent_speed,circle_air,bwind_rotate,' + 'fan_countdown_switch', + 'select_properties': 'nursing_value,fan_level,buzzer_status', + 'number_properties': 'temp_set,fan_countdown_time', + 'percentage_property': 'fan_advance.speed', + }, 'opple.light.yrtd': { 'switch_properties': 'night_light,time_display,wake_up_at_night,voice', 'select_properties': 'study_time',