From 91cb0ec6ebf02f01069654c291707709f94440ff Mon Sep 17 00:00:00 2001 From: Jonathan Kang Date: Fri, 15 Dec 2023 18:31:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A6=20add=20support=20for=20xiaomi.hum?= =?UTF-8?q?idifier.p1200=20(#1425)?= 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 033d4d9f1..620ab49b1 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -1175,6 +1175,13 @@ 'button_actions': 'homepage,light', 'text_actions': 'play_text,execute_text_directive', }, + 'xiaomi.humidifier.p1200': { + 'button_actions': 'loop_mode,reset_filter_life', + 'select_properties': 'screen.brightness', + 'sensor_properties': 'clean_time,fan_dry_time,fault,water_level,water_status', + 'switch_properties': 'alarm,dry_switch,over_wet_protect,screen.on', + 'number_properties': 'off_delay_time', + }, 'xiaomi.tv.*': { 'auto_cloud': True, 'switch_properties': 'is_on',