无默认实体
EntityID | 类型 | 名称 | 描述 |
---|---|---|---|
sensor.{DEVICEID}_pm25 | sensor | PM 2.5 | PM 2.5 |
sensor.{DEVICEID}_tvoc | sensor | TVOC | 可挥发有机物 |
sensor.{DEVICEID}_hcho | sensor | Methanal | 甲醛 |
sensor.{DEVICEID}_filter1_life | sensor | Filter1 Life Level | 滤芯1寿命 |
sensor.{DEVICEID}_filter2_life | sensor | Filter2 Life Level | 滤芯2寿命 |
lock.{DEVICEID}_child_lock | lock | Child Lock | 童锁 |
switch.{DEVICEID}_anion | switch | Anion | 负离子 |
switch.{DEVICEID}_prompt_tone | switch | Prompt Tone | 提示音 |
switch.{DEVICEID}_power | switch | Power | 电源开关 |
select.{DEVICEID}_detect_mode | select | Detect Mode | 检测模式 |
select.{DEVICEID}_mode | select | Mode | 运行模式 |
select.{DEVICEID}_fan_speed | select | Fan Speed | 风速设定 |
select.{DEVICEID}_screen_display | select | Screen Display | 屏显 |
生成以下扩展服务
设置设备属性, 服务数据:
名称 | 描述 |
---|---|
device_id | 设备的编号(Device ID) |
attribute | "child_lock" "anion" "prompt_tone" "power" |
value | true 或 false |
名称 | 描述 |
---|---|
device_id | 设备的编号(Device ID) |
attribute | "detect_mode" |
value | "Off" "PM 2.5" "Methanal" |
名称 | 描述 |
---|---|
device_id | 设备的编号(Device ID) |
attribute | "mode" |
value | "Auto" "Manual" "Sleep" "Fast" "Smoke" |
名称 | 描述 |
---|---|
device_id | 设备的编号(Device ID) |
attribute | "fan_speed" |
value | "Auto" "Low" "Medium" "High" |
名称 | 描述 |
---|---|
device_id | 设备的编号(Device ID) |
attribute | "screen_display" |
value | "Bright" "Dim" "Off" |
示例
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: prompt_tone
value: true
service: midea_ac_lan.set_attribute
data:
device_id: XXXXXXXXXXXX
attribute: fan_speed
value: Auto