From 026bda649053c1c21aca59ff65916fc819996eaa Mon Sep 17 00:00:00 2001 From: Alone <hi@anlo.ng> Date: Thu, 12 Dec 2024 12:53:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=83=20add=20entities=20for=20dmaker.ai?= =?UTF-8?q?rfresh.a1/t2017=20(#2033)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xiaomi_miot/core/device_customizes.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 66bd885c68..9a68750530 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -540,6 +540,16 @@ 'deye.derh.u20a3': { 'target_humidity_ratio': 9.0909, }, + 'dmaker.airfresh.a1': { + 'sensor_properties': 'filter_life_level', + 'switch_properties': 'heater,alarm', + 'select_properties': 'fan_level', + }, + 'dmaker.airfresh.t2017': { + 'sensor_properties': 'filter_life_level', + 'switch_properties': 'heater,screen.on,alarm', + 'select_properties': 'heat_level,fan_level', + }, 'dmaker.airp.*': { 'switch_properties': 'air_purifier.on,anion', 'number_select_properties': 'horizontal_swing_included_angle',