- 支持温度设定
- 设置设备控制协议 (默认为"auto"). 美的使用了两种不同的协议来控制电热水器,"旧协议" 或 "新协议". 如果你无法控制你的热水器,可以尝试改变此项的值试试看。 可选值包括true,false,"auto"
{ "old_protocol": true }| 实体ID | 类型 | 描述 |
|---|---|---|
| water_heater.{DEVICEID}_water_heater | water_heater | 热水器实体 |
| EntityID | 类型 | 名称 | 描述 |
|---|---|---|---|
| binary_sensor.{DEVICEID}_heating | binary_sensor | Heating | 加热 |
| binary_sensor.{DEVICEID}_heat_insulating | binary_sensor | Heat Insulating | 保温 |
| binary_sensor.{DEVICEID}_protection | binary_sensor | Protection | 安全防护 |
| sensor.{DEVICEID}_heating_power | sensor | Heating Power | 加热功率 |
| sensor.{DEVICEID}_current_temperature | sensor | Current Temperature | 当前温度 |
| switch.{DEVICEID}_auto_cut_out | switch | Auto Cut-out | 出水断电 |
| switch.{DEVICEID}_power | switch | Power | 电源开关 |
| switch.{DEVICEID}_variable_heating | switch | Variable Heating | 变频加热 |
| switch.{DEVICEID}_whole_tank_heating | switch | Whole Tank Heating | 全胆速热 |
设置设备属性, 服务数据:
| 名称 | 描述 |
|---|---|
| device_id | 设备的编号(Device ID) |
| attribute | "auto_cut_out" "power" "variable_heating" "whole_tank_heating" |
| value | true 或 false |
示例
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: variable_heating
value: true