Improve heating interfaces

Make heating inherit from power and require min/max values for
thermostat's targetTemperature
This commit is contained in:
Michael Zanetti 2020-01-30 17:33:08 +01:00
parent 6cdcd47f9b
commit 03602b755f
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,4 @@
{ {
"description": "The heating interface defines basic heating appliances." "description": "The heating interface defines basic heating appliances.",
"extends": "power"
} }

View File

@ -4,7 +4,9 @@
{ {
"name": "targetTemperature", "name": "targetTemperature",
"type": "double", "type": "double",
"unit": "DegreeCelsius" "unit": "DegreeCelsius",
"minValue": "any",
"maxValue": "any"
} }
] ]
} }