From 8e33074c5e8f7b5541de328ef374bc9d437c71c4 Mon Sep 17 00:00:00 2001 From: Alone Date: Thu, 20 Feb 2025 14:53:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8C=20add=20entities=20for=20cuco.plug?= =?UTF-8?q?.co3d=20(#2372)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 6a789c018..29ec1c20d 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -319,6 +319,13 @@ **CHUNK_1, 'exclude_miot_services': 'setting,cycle', }, + 'cuco.plug.co3d': { + 'binary_sensor_properties': 'temp_over,current_over', + 'switch_properties': 'light,mode', + 'select_properties': 'memory', + 'sensor_attributes': 'power_cost_today,power_cost_month', + 'stat_power_cost_key': '8.1', + }, 'cuco.plug.cp1': { **CHUNK_1, 'exclude_miot_services': 'indicator_light',