fix: support fan p5c fan-level

This commit is contained in:
tiancheng91 2025-06-29 11:43:50 +08:00
parent d659d13e49
commit b1e76f836f
3 changed files with 24 additions and 0 deletions

View File

@ -217,5 +217,23 @@
}
]
}
],
"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", "notify", "write"],
"value-range": [1, 100, 1],
"gatt-access": []
}
]
}
]
}

View File

@ -48,3 +48,6 @@ urn:miot-spec-v2:device:thermostat:0000A031:tofan-wk01:
services:
- '2'
- '4'
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1:
services:
- '8'

View File

@ -87,6 +87,9 @@ urn:miot-spec-v2:device:fan:0000A005:dmaker-p33:1:
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5:1:
prop.2.4:
name: fan-level-a
urn:miot-spec-v2:device:fan:0000A005:dmaker-p5c:1:
prop.2.2:
name: fan-level-a
urn:miot-spec-v2:device:fan:0000A005:xiaomi-p43:1:
prop.2.2:
name: fan-level-a