Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Latest commit

 

History

History
58 lines (46 loc) · 1.97 KB

40_hans.md

File metadata and controls

58 lines (46 loc) · 1.97 KB

凉霸

Features

  • 支持风速调整
  • 支持摇摆设定

实体

默认实体

实体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 摇摆方向

服务

midea_ac_lan.set_attribute

Service

设置设备属性, 服务数据:

名称 描述
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