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

Latest commit

 

History

History
88 lines (70 loc) · 3.43 KB

FC.md

File metadata and controls

88 lines (70 loc) · 3.43 KB

Air Purifier

Customize

Set the high/low value of PM2.5 to automatically turn standby mode on or off.

{"standby_detect": [50, 20]}

Entities

Default entity

No default entity.

Extra entities

EntityID Class Description
sensor.{DEVICEID}_pm25 sensor PM 2.5
sensor.{DEVICEID}_tvoc sensor TVOC
sensor.{DEVICEID}_hcho sensor Methanal
sensor.{DEVICEID}_filter1_life sensor Filter1 Life Level
sensor.{DEVICEID}_filter2_life sensor Filter2 Life Level
lock.{DEVICEID}_child_lock lock Child Lock
switch.{DEVICEID}_anion switch Anion
switch.{DEVICEID}_prompt_tone switch Prompt Tone
switch.{DEVICEID}_power switch Power
switch.{DEVICEID}_standby switch Standby
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

Service

midea_ac_lan.set_attribute

Service

Set the attribute of appliance. Service data:

Name Description
device_id The Appliance code (Device ID) of appliance
attribute "child_lock"
"anion"
"prompt_tone"
"power"
value true or false
Name Description
device_id The Appliance code (Device ID) of appliance
attribute "detect_mode"
value "Off"
"PM 2.5"
"Methanal"
Name Description
device_id The Appliance code (Device ID) of appliance
attribute "mode"
value "Auto"
"Manual"
"Sleep"
"Fast"
"Smoke"
Name Description
device_id The Appliance code (Device ID) of appliance
attribute "fan_speed"
value "Auto"
"Low"
"Medium"
"High"
Name Description
device_id The Appliance code (Device ID) of appliance
attribute "screen_display"
value "Bright"
"Dim"
"Off"

Example

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