Merge PR #433: Add flow rate control support to the ventilation interface

This commit is contained in:
Jenkins nymea 2021-07-06 17:18:26 +02:00
commit 98b17b9e7e

View File

@ -1,4 +1,14 @@
{
"description": "The ventilation interface is used for any sort of ventilation. It extends the \"power\" interface and thus can be turned on or off.",
"extends": "power"
"description": "The ventilation interface is used for any sort of ventilation. It extends the \"power\" interface and thus can be turned on or off. Optionally, the air flow can be controlled. The thing class must specify the minimum and maximum values for the flow control.",
"extends": "power",
"states": [
{
"name": "flowRate",
"type": "int",
"minimumValue": "any",
"maximumValue": "any",
"writable": true,
"optional": true
}
]
}