Skip to content

Commit 9814296

Browse files
authored
feat: add an alongside switch entity for viomi.waterheater.m1 (#1255)
1 parent a82fd86 commit 9814296

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

custom_components/xiaomi_home/miot/specs/spec_add.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,26 @@
203203
]
204204
}
205205
],
206+
"urn:miot-spec-v2:device:water-heater:0000A02A:viomi-m1:2": [
207+
{
208+
"iid": 2,
209+
"type": "urn:miot-spec-v2:service:switch:0000780C:viomi-m1:1",
210+
"description": "Water Heater",
211+
"properties": [
212+
{
213+
"iid": 6,
214+
"type": "urn:miot-spec-v2:property:on:00000006:viomi-m1:1",
215+
"description": "Switch Status",
216+
"format": "bool",
217+
"access": [
218+
"read",
219+
"write",
220+
"notify"
221+
]
222+
}
223+
]
224+
}
225+
],
206226
"urn:miot-spec-v2:device:water-heater:0000A02A:xiaomi-yms2:1": [
207227
{
208228
"iid": 2,

0 commit comments

Comments
 (0)