mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-18 16:10:44 +08:00
fix: support fan p5c fan-level
This commit is contained in:
parent
d659d13e49
commit
b1e76f836f
@ -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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -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'
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user