mirror of https://github.com/nymea/nymea.git
Merge PR #524: Add alarm and firesensor interfaces
commit
03efba295e
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"description": "An interface for alarms, such as fire or intruder alarms.",
|
||||
"actions": [
|
||||
{
|
||||
"name": "alarm",
|
||||
"logged": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"description": "An interface for fire/smoke sensors.",
|
||||
"extends": "sensor",
|
||||
"states": [
|
||||
{
|
||||
"name": "fireDetected",
|
||||
"type": "bool",
|
||||
"logged": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue