From 981429670a9cd750b36552fe1b9f6a272df60ed4 Mon Sep 17 00:00:00 2001 From: Li Shuzhen Date: Tue, 15 Jul 2025 16:26:13 +0800 Subject: [PATCH] feat: add an alongside switch entity for viomi.waterheater.m1 (#1255) --- .../xiaomi_home/miot/specs/spec_add.json | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/custom_components/xiaomi_home/miot/specs/spec_add.json b/custom_components/xiaomi_home/miot/specs/spec_add.json index 64f5113..8d14aec 100644 --- a/custom_components/xiaomi_home/miot/specs/spec_add.json +++ b/custom_components/xiaomi_home/miot/specs/spec_add.json @@ -203,6 +203,26 @@ ] } ], + "urn:miot-spec-v2:device:water-heater:0000A02A:viomi-m1:2": [ + { + "iid": 2, + "type": "urn:miot-spec-v2:service:switch:0000780C:viomi-m1:1", + "description": "Water Heater", + "properties": [ + { + "iid": 6, + "type": "urn:miot-spec-v2:property:on:00000006:viomi-m1:1", + "description": "Switch Status", + "format": "bool", + "access": [ + "read", + "write", + "notify" + ] + } + ] + } + ], "urn:miot-spec-v2:device:water-heater:0000A02A:xiaomi-yms2:1": [ { "iid": 2,