- Supports fan speed
- Supports preset mode
- Supports oscillation
- Supports tilting
Set the levels of the fan device except "Off" (3 by default).
{"speed_count": 5}
EntityID | Class | Description |
---|---|---|
fan.{DEVICEID}_fan | fan | Fan entity |
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 |
following extra services will be made
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"