From faa247233fb30734598729c69e62b91eaf6ce576 Mon Sep 17 00:00:00 2001 From: Alone Date: Thu, 20 Feb 2025 15:20:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=B5=20add=20entities=20for=20xiaomi.ke?= =?UTF-8?q?ttle.v20=20(#2369)?= 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 9621b0a43..5bedbc83b 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -1829,6 +1829,14 @@ 'switch_properties': 'alarm,dry_switch,over_wet_protect,screen.on', 'number_properties': 'off_delay_time', }, + 'xiaomi.kettle.v20': { + 'button_actions': 'stop_work', + 'binary_sensor_properties': 'kettle_lifting', + 'sensor_properties': 'status,temperature,warming_time', + 'switch_properties': 'on,auto_keep_warm,no_disturb,custom_knob_temp,lift_remember_temp,' + 'boiling_reminder,keep_warm_reminder', + 'number_properties': 'target_temperature,keep_warm_temperature,keep_warm_time,target_mode', + }, 'xiaomi.plug.mcn003': { 'button_actions': 'toggle', 'sensor_properties': 'fault,electric_power',