add interfaces useful for irrigation scenarios

pull/135/head
Michael Zanetti 2018-07-17 01:33:22 +02:00
parent 8089c65d39
commit 200666ee3e
5 changed files with 32 additions and 1 deletions

View File

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

View File

@ -24,6 +24,9 @@
<file>temperaturesensor.json</file> <file>temperaturesensor.json</file>
<file>humiditysensor.json</file> <file>humiditysensor.json</file>
<file>pressuresensor.json</file> <file>pressuresensor.json</file>
<file>moisturesensor.json</file>
<file>conductivitysensor.json</file>
<file>lightsensor.json</file>
<file>connectable.json</file> <file>connectable.json</file>
<file>inputtrigger.json</file> <file>inputtrigger.json</file>
<file>outputtrigger.json</file> <file>outputtrigger.json</file>

View File

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

View File

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

View File

@ -5,6 +5,5 @@
"name": "temperature", "name": "temperature",
"type": "double" "type": "double"
} }
] ]
} }