From 1acec4e1aa402daa11d4b3c81fbb9b4a367e0c6f Mon Sep 17 00:00:00 2001 From: Alone Date: Fri, 7 Feb 2025 19:16:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=9A=20improve=20for=20xiaomi.cooker.cm?= =?UTF-8?q?k7=20(#2347)?= 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 82e4f45cb5..f517e2ee0b 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -1648,6 +1648,11 @@ 'button_actions': 'homepage,light', 'text_actions': 'play_text,execute_text_directive', }, + 'xiaomi.cooker.cmk7': { + 'select_actions': None, # issues/2347 + 'select_properties': 'cook_mode,texture', + 'number_properties': 'target_time,reservation_left_time,keep_warm_time', + }, 'xiaomi.blanket.mj1': { 'chunk_properties': 1, 'switch_properties': 'anti_scald_switch,ab_sleep_switch,auto_screen_off',