Add windowOpen and windowOpenDetected states to the thermostat
This commit is contained in:
parent
a41b82afbe
commit
bea44a96c0
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"description": "The thermostat interface describes devices which have a target temperature value and regulate themselves to match that target temperature.",
|
"description": "The thermostat interface describes devices which have a target temperature value and regulate themselves to match that target temperature. A thermostat may support detecting for open windows in which case the windowOpenDetected state should be implemented. On the other hand, a thermostat may allow setting a window open lock in which case the windowOpen state should be implemented.",
|
||||||
"states": [
|
"states": [
|
||||||
{
|
{
|
||||||
"name": "targetTemperature",
|
"name": "targetTemperature",
|
||||||
@ -34,6 +34,19 @@
|
|||||||
"type": "bool",
|
"type": "bool",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"logged": true
|
"logged": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windowOpen",
|
||||||
|
"type": "bool",
|
||||||
|
"writable": true,
|
||||||
|
"optional": true,
|
||||||
|
"logged": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windowOpenDetected",
|
||||||
|
"type": "bool",
|
||||||
|
"optional": true,
|
||||||
|
"logged": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user