Skip to content

Commit

Permalink
set numeric format for water-level and actual-speed
Browse files Browse the repository at this point in the history
  • Loading branch information
pbtsrc authored Nov 17, 2023
1 parent c0c821a commit 1766321
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion custom_components/xiaomi_miot/core/miot_specs_extend.json
Original file line number Diff line number Diff line change
Expand Up @@ -1600,6 +1600,34 @@
}
]
}
],

"zhimi.humidifier.ca4": [
{
"iid": 2,
"properties": [
{
"iid": 7,
"type": "urn:miot-spec-v2:property:water-level",
"format": "uint8",
"access": ["read", "notify"],
"unit": "percentage",
"value-range": [0, 100, 1]
}
]
},
{
"iid": 7,
"properties": [
{
"iid": 1,
"type": "urn:zhimi-spec:property:actual-speed",
"format": "uint32",
"access": ["read"],
"unit": "rpm",
"value-range": [0, 2000, 1]
}
]
}
]

}

0 comments on commit 1766321

Please sign in to comment.