From 7253834eb892b389c12c88071db7b747455d329e Mon Sep 17 00:00:00 2001 From: Alone <hi@anlo.ng> Date: Fri, 13 Dec 2024 18:19:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=82=20improve=20for=20cgllc.airm.cgs2?= =?UTF-8?q?=20(#1701=20#2062)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 73e2eeda21..621477e77f 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -177,6 +177,9 @@ 'device_class': 'voltage', 'unit_of_measurement': 'V', }, + 'cgllc.airm.cgs2': { + 'sensor_properties': 'noise_decibel', + }, 'cgllc.motion.cgpr1': { 'sensor_properties': 'illumination,no_motion_duration', },