Merge PR #524: Add alarm and firesensor interfaces

pull/539/head
jenkins 2022-06-16 00:20:46 +02:00
commit 03efba295e
4 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,9 @@
{
"description": "An interface for alarms, such as fire or intruder alarms.",
"actions": [
{
"name": "alarm",
"logged": true
}
]
}

View File

@ -1,5 +1,5 @@
{
"description": "Used for things that have some sort of alert. For instance, light bulbs may be able to blink on alert actions, or speaker might be able to play an alert sound. Zigbee devices for example often provide alert actions to identify themselves.",
"description": "Used for things that have some sort of alert. For instance, light bulbs may be able to blink on alert actions, or speaker might be able to play an alert sound.",
"actions": [
{
"name": "alert"

View File

@ -0,0 +1,11 @@
{
"description": "An interface for fire/smoke sensors.",
"extends": "sensor",
"states": [
{
"name": "fireDetected",
"type": "bool",
"logged": true
}
]
}

View File

@ -93,5 +93,7 @@
<file>heatpump.json</file>
<file>smartgridheatpump.json</file>
<file>simpleheatpump.json</file>
<file>alarm.json</file>
<file>firesensor.json</file>
</qresource>
</RCC>