From 222e154de44149f851c42a6eab2bdc2e75a031ab Mon Sep 17 00:00:00 2001 From: Alone Date: Fri, 6 Dec 2024 01:16:50 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20add=20voltage=20for=20cuco.plug.cp1?= =?UTF-8?q?md=20(#1971)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_components/xiaomi_miot/core/device_customizes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/xiaomi_miot/core/device_customizes.py b/custom_components/xiaomi_miot/core/device_customizes.py index 29c3fecb6..0cacf4dcc 100644 --- a/custom_components/xiaomi_miot/core/device_customizes.py +++ b/custom_components/xiaomi_miot/core/device_customizes.py @@ -291,6 +291,7 @@ 'stat_power_cost_key': '2.2', 'miot_mapping': { 'switch.on': {'siid': 2, 'piid': 1}, + 'switch.voltage': {'siid': 2, 'piid': 3}, 'switch.electric_current': {'siid': 2, 'piid': 4}, 'switch.power': {'siid': 4, 'piid': 2}, 'physical_controls_locked': {'siid': 6, 'piid': 1},