fix: format spec json

This commit is contained in:
tiancheng91 2025-06-29 13:58:36 +08:00
parent 6a30afb0a4
commit 409ee3f422
2 changed files with 29 additions and 29 deletions

View File

@ -44,6 +44,32 @@
]
}
],
"urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1": [
{
"iid": 8,
"type": "urn:miot-spec-v2:service:fan:00007802:dmaker-p5c:1",
"description": "Fan",
"properties": [
{
"iid": 1,
"type": "urn:miot-spec-v2:property:fan-level:00000001:dmaker-p5c:1",
"description": "Fan Level",
"format": "uint8",
"access": [
"read",
"write",
"notify"
],
"value-range": [
1,
100,
1
],
"gatt-access": []
}
]
}
],
"urn:miot-spec-v2:device:thermostat:0000A031:tofan-wk01:1:0000C822": [
{
"iid": 2,
@ -242,31 +268,5 @@
}
]
}
],
"urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1": [
{
"iid": 8,
"type": "urn:miot-spec-v2:service:fan:00007802:dmaker-p5c:1",
"description": "Fan",
"properties": [
{
"iid": 1,
"type": "urn:miot-spec-v2:property:fan-level:00000001:dmaker-p5c:1",
"description": "Fan Level",
"format": "uint8",
"access": [
"read",
"write",
"notify"
],
"value-range": [
1,
100,
1
],
"gatt-access": []
}
]
}
]
}

View File

@ -18,6 +18,9 @@ urn:miot-spec-v2:device:curtain:0000A00C:lumi-hmcn01:
- '4'
- '7'
- '8'
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1:
services:
- '8'
urn:miot-spec-v2:device:gateway:0000A019:xiaomi-hub1:
events:
- '2.1'
@ -51,6 +54,3 @@ urn:miot-spec-v2:device:thermostat:0000A031:tofan-wk01:
services:
- '2'
- '4'
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1:
services:
- '8'