Improve heating interfaces
Make heating inherit from power and require min/max values for thermostat's targetTemperature
This commit is contained in:
parent
6cdcd47f9b
commit
03602b755f
@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"description": "The heating interface defines basic heating appliances."
|
"description": "The heating interface defines basic heating appliances.",
|
||||||
|
"extends": "power"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,9 @@
|
|||||||
{
|
{
|
||||||
"name": "targetTemperature",
|
"name": "targetTemperature",
|
||||||
"type": "double",
|
"type": "double",
|
||||||
"unit": "DegreeCelsius"
|
"unit": "DegreeCelsius",
|
||||||
|
"minValue": "any",
|
||||||
|
"maxValue": "any"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user