From 7e5e064dbb1ec7e6e742018cba433ff4ab7fdb91 Mon Sep 17 00:00:00 2001 From: Alone Date: Fri, 26 Apr 2024 18:25:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=80=20add=20sub-entities=20for=20viomi?= =?UTF-8?q?.waterheater.m1=20(#1457)?= 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 555766cfc..3d9153b95 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -1320,6 +1320,14 @@ 'viomi.washer.*': { 'exclude_miot_services': 'key_press', }, + 'viomi.waterheater.m1': { + 'sensor_properties': 'water_heater.status,water_level,temperature_tips,' + 'input_water_temp,water_pump_volt,remaining_time', + 'switch_properties': 'on,hot_water_recirculation,heat_preservation,jog_function,pressure_boost.status,' + 'cloud_preheater,in_cloud_timer,reminder,enhanced', + 'select_properties': 'light_off_time,effective,model', + 'number_properties': 'target_temperature,boost_value', + }, 'wise.wifispeaker.x7': { 'switch_properties': 'key_one,key_two,key_three,key_four,key_five,key_six,key_seven,key_eight,key_nine,'