From 63c78dbbab9ea36386cd4de378d013d22553d33d Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sun, 11 Dec 2022 13:49:38 +0100 Subject: [PATCH] 'depth' property removed because it's deprecated (Closes: #302) Use 'water_level' and 'water_tank_detached' properties instead. --- custom_components/xiaomi_miio_airpurifier/fan.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/xiaomi_miio_airpurifier/fan.py b/custom_components/xiaomi_miio_airpurifier/fan.py index 8956ea1..70d2861 100644 --- a/custom_components/xiaomi_miio_airpurifier/fan.py +++ b/custom_components/xiaomi_miio_airpurifier/fan.py @@ -267,7 +267,6 @@ # Air Humidifier CA # ATTR_MOTOR_SPEED = "motor_speed" -ATTR_DEPTH = "depth" ATTR_DRY = "dry" # Air Humidifier CA4 @@ -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",