From 63c78dbbab9ea36386cd4de378d013d22553d33d Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sun, 11 Dec 2022 13:49:38 +0100 Subject: [PATCH 1/2] '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", From 1ddf45c330f664d9b9c288bc65e814afb3160e0e Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sun, 11 Dec 2022 13:51:34 +0100 Subject: [PATCH 2/2] Bump custom component version --- custom_components/xiaomi_miio_airpurifier/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/xiaomi_miio_airpurifier/manifest.json b/custom_components/xiaomi_miio_airpurifier/manifest.json index cdc38a6..6f62b60 100644 --- a/custom_components/xiaomi_miio_airpurifier/manifest.json +++ b/custom_components/xiaomi_miio_airpurifier/manifest.json @@ -1,7 +1,7 @@ { "domain": "xiaomi_miio_airpurifier", "name": "Xiaomi Mi Air Purifier, Air Humidifier, Air Fresh and Pedestal Fan Integration", - "version": "2022.8.0.0", + "version": "2022.12.0.0", "iot_class": "local_polling", "config_flow": false, "documentation": "https://github.com/syssi/xiaomi_airpurifier",