- 支持风速调整
- 支持摇摆设定
实体ID | 类型 | 描述 |
---|---|---|
fan.{DEVICEID}_fan | fan | Fan 实体 |
实体ID | 类型 | 名称 | 描述 |
---|---|---|---|
sensor.{DEVICEID}_current_temperature | select | Current Temperature | 当前温度 |
switch.{DEVICEID}_light | switch | Light | 灯 |
select.{DEVICEID}_ventilation | switch | Ventilation | 通风 |
select.{DEVICEID}_smelly_sensor | switch | smelly Sensor | 异味传感器 |
select.{DEVICEID}_direction | select | Direction | 摇摆方向 |
设置设备属性, 服务数据:
名称 | 描述 |
---|---|
device_id | 设备的编号(Device ID) |
attribute | "light" "ventilation" "smelly_sensor" |
value | true or false |
名称 | 描述 |
---|---|
device_id | 设备的编号(Device ID) |
attribute | "directions" |
value | 60 70 80 90 100 "Oscillate" |
示例
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: light
value: true
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: directions
value: 100