From 8b124cc9689869c91c0a2bf7be7cefc055146d69 Mon Sep 17 00:00:00 2001 From: Alone Date: Sat, 18 Feb 2023 18:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=83=20add=20alarm=20switch=20for=20air?= =?UTF-8?q?-purifier=20(#1028)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 4d4c4ea4d..dd01f6192 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -1137,7 +1137,7 @@ }, '*.airpurifier.*': { 'main_miot_services': 'air_purifier', - 'switch_properties': 'air_purifier.on', + 'switch_properties': 'air_purifier.on,alarm.alarm', 'sensor_properties': 'relative_humidity,pm2_5_density,temperature,filter_life_level', }, '*.bhf_light.*': {