Add flow rate control support to the ventilation interface

This commit is contained in:
loosrob 2021-05-10 12:51:23 +02:00 committed by Michael Zanetti
parent 1acd8ca808
commit 9b994916a1

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
}
]
}