Skip to content

Commit

Permalink
'depth' property removed because it's deprecated (Closes: #302)
Browse files Browse the repository at this point in the history
Use 'water_level' and 'water_tank_detached' properties instead.
  • Loading branch information
syssi committed Dec 11, 2022
1 parent 5313895 commit 63c78db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/xiaomi_miio_airpurifier/fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@

# Air Humidifier CA
# ATTR_MOTOR_SPEED = "motor_speed"
ATTR_DEPTH = "depth"
ATTR_DRY = "dry"

# Air Humidifier CA4
Expand Down Expand Up @@ -487,7 +486,6 @@
**AVAILABLE_ATTRIBUTES_AIRHUMIDIFIER_COMMON,
ATTR_TARGET_HUMIDITY: "target_humidity",
ATTR_MOTOR_SPEED: "motor_speed",
ATTR_DEPTH: "depth", # deprecated
ATTR_DRY: "dry",
ATTR_CHILD_LOCK: "child_lock",
ATTR_LED_BRIGHTNESS: "led_brightness",
Expand Down

0 comments on commit 63c78db

Please sign in to comment.