Skip to content

Latest commit

 

History

History
82 lines (65 loc) · 2.06 KB

FA.md

File metadata and controls

82 lines (65 loc) · 2.06 KB

Fan

Features

  • Supports fan speed
  • Supports preset mode
  • Supports oscillation
  • Supports tilting

Customize

Set the levels of the fan device except "Off" (3 by default).

{"speed_count": 5}

Entities

Default entity

EntityID Class Description
fan.{DEVICEID}_fan fan Fan entity

Extra entities

EntityID Class Description
select.{DEVICEID}_oscillation_mode select Oscillation Mode
select.{DEVICEID}_oscillation_angle select Oscillation Angle
select.{DEVICEID}_tilting_angle select Tilting Angle
lock.{DEVICEID}_child_lock lock Child Lock
switch.{DEVICEID}_oscillate switch Oscillate
switch.{DEVICEID}_power switch Power

Services

following extra services will be made

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"
"oscillate"
value true or false
Name Description
device_id The Appliance code (Device ID) of appliance
attribute "oscillation_mode"
value "Off"
"Oscillation"
"Tilting"
"Curve-W"
"Curve-8"
"Reserved"
"Both"
Name Description
device_id The Appliance code (Device ID) of appliance
attribute "oscillation_angle"
value "Off"
"30"
"60"
"90"
"120"
"180"
"360"
Name Description
device_id The Appliance code (Device ID) of appliance
attribute "tilting_angle"
value "Off"
"30"
"60"
"90"
"120"
"180"
"360"
"+60"
"-60"
"40"

Example

service: midea_ac_lan.set_attribute
data:
  device_id: XXXXXXXXXXXX
  attribute: power
  value: true
service: midea_ac_lan.set_attribute
data:
  device_id: XXXXXXXXXXXX
  attribute: oscillation_angle
  value: "90"