al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.32k stars 606 forks source link

请添加对米家零冷水燃气热水器S1 18L(viomi.waterheater.m1)预热功能的支持 #1457

Open lingxide opened 7 months ago

lingxide commented 7 months ago

Device model / 设备型号

viomi.waterheater.m1

Component version / 插件版本

0.7.14

HA core version / HA版本

core-2023.12.3

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

请添加对米家零冷水燃气热水器S1 18L预热功能的支持

Entity attributes / 实体属性

min_temp: 35
max_temp: 65
operation_list: Custom, AI, Children, Comfortable, Old Man, Kitchen
current_temperature: 37
temperature: 46
target_temp_high: 65
target_temp_low: 35
operation_mode: Custom
model: viomi.waterheater.m1
lan_ip: 192.168.1.221
mac_address: 7C:C2:94:16:75:FF
entity_class: MiotWaterHeaterEntity
home_room: 小阳台
miot_type: urn:miot-spec-v2:device:water-heater:0000A02A:viomi-m1:2
water_heater.fault: 0
water_heater.target_temperature: 46
water_heater.temperature: 37
water_heater.mode: 0
water_heater.status: 0
water_heater.on: true
water_heater.water_level: 0
hot_water_recirculation-2-8: false
ventilate.on: false
ventilate.remaining_time: 0
usage_report.single_water: 0
usage_report.single_gas: 0.033
usage_report.usage_time: 0
usage_report.target_temperature: 46
pressure_boost.model: 0
pressure_boost.boost_value: 20
pressure_boost.status: true
antifreeze.reminder: true
antifreeze.enhanced: true
preheat.effective: 1
preheat.timer: 1&1900&0000&0
preheat-4.timer: 0&0000&0000&0
preheat-4.timer-4: 0&0000&0000&0
preheat-4.timer-5: 0&0000&0000&0
preheat-4.timer-6: 0&0000&0000&0
preheat.in_cloud_timer: false
preheat.preheater_cloud_id: 
preheat.cloud_preheater: false
function.temperature_tips: 0
function.heat_preservation: true
function.jog_function: true
function.input_water_temp: 22
function.discharge_water: 0
function.water_pump_volt: 5
function.light_off_time: 30
state_updater: lan
friendly_name: 热水器水温
supported_features: 3
sub_entities: water_heater-2.on-6

Home Assistant Logs / 系统日志

No response

MadokaSama commented 4 months ago

请同步添加 S2的预热功能,这个热水器最常用的功能 xiaomi.waterheater.yms2

weiting-tw commented 3 months ago

米家智能零冷水燃气热水器16L S1 zimi.waterheater.h01 也有預熱功能,可以也添加上去嗎,感謝