add hearting/evcharger interfaces

pull/135/head
Michael Zanetti 2018-10-31 16:34:56 +01:00
parent c7f4dda9d3
commit a1d961eecc
5 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{
"description": "An EV-charger. Extends the power interface for charging/not charging an electric vehicle.",
"extends": "power"
}

View File

@ -0,0 +1,13 @@
{
"description": "An extended version of the EV-charger interface. Supports regulation of percentage in addition ot be powered on or off.",
"extends": "evcharger",
"states": [
{
"name": "percentage",
"type": "int",
"min": 0,
"max": 100,
"writable": true
}
]
}

View File

@ -0,0 +1,13 @@
{
"description": "The extendedheating interface defines heating appliances which can also be controlled with a percentage range. When implementing such a device class, do not set power to true when the percentage is set.",
"extends": "heating",
"states": [
{
"name": "percentage",
"type": "int",
"min": 0,
"max": 100,
"writable": true
}
]
}

View File

@ -0,0 +1,4 @@
{
"description": "The heating interface defines basic heating appliances. They can be turned on or off.",
"extends": "power"
}

View File

@ -50,6 +50,10 @@
<file>accesscontrol.json</file>
<file>fingerprintreader.json</file>
<file>useraccesscontrol.json</file>
<file>heating.json</file>
<file>extendedheating.json</file>
<file>evcharger.json</file>
<file>extendedevcharger.json</file>
</qresource>
<qresource prefix="/"/>
</RCC>