add sensors interfaces

This commit is contained in:
Michael Zanetti 2017-11-02 00:02:37 +01:00
parent 21a0085463
commit a42b8fd5e7
4 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{
"extends": "sensor",
"states": [
{
"name": "humidity",
"type": "double",
"minValue": 0,
"maxValue": 100
}
]
}

View File

@ -19,6 +19,9 @@
<file>longpressbutton.json</file>
<file>simplemultibutton.json</file>
<file>longpressmultibutton.json</file>
<file>sensor.json</file>
<file>temperaturesensor.json</file>
<file>humiditysensor.json</file>
</qresource>
<qresource prefix="/"/>
</RCC>

View File

@ -0,0 +1,3 @@
{
}

View File

@ -0,0 +1,10 @@
{
"extends": "sensor",
"states": [
{
"name": "temperature",
"type": "double"
}
]
}