Add a watersensor interface

pull/380/head
Michael Zanetti 2021-01-06 16:38:26 +01:00
parent eaaf2e0188
commit 62b87ee211
2 changed files with 12 additions and 0 deletions

View File

@ -80,5 +80,6 @@
<file>irrigation.json</file>
<file>venetianblind.json</file>
<file>update.json</file>
<file>watersensor.json</file>
</qresource>
</RCC>

View File

@ -0,0 +1,11 @@
{
"description": "Interface for water sensors.",
"extends": "sensor",
"states": [
{
"name": "waterDetected",
"type": "bool",
"logged": true
}
]
}