41 lines
2.8 KiB
JSON
41 lines
2.8 KiB
JSON
[
|
|
{
|
|
"id": "homeseck-alarm_trigger",
|
|
"result": {
|
|
"structured": "TRIGGER: When PIR sensor 1 [sensor.pir1] becomes active. CONDITIONS: Homeseck alarm panel [alarm_control_panel.homeseck_alarm_panel] is armed_away. ACTIONS: Trigger the Homeseck alarm panel [alarm_control_panel.homeseck_alarm_panel] with code 1234.",
|
|
"natural_language": {
|
|
"trigger": "When the PIR sensor 1 [sensor.pir1] detects motion and changes its state to active.",
|
|
"conditions": "The Homeseck alarm panel [alarm_control_panel.homeseck_alarm_panel] must be in the armed_away mode.",
|
|
"action": "Triggers the Homeseck alarm panel [alarm_control_panel.homeseck_alarm_panel] using the code 1234."
|
|
},
|
|
"human_like": "Triggers the alarm when motion is detected while the system is armed away.",
|
|
"complexity": "low"
|
|
}
|
|
},
|
|
{
|
|
"id": "homeseck-tagbased_override",
|
|
"result": {
|
|
"structured": "TRIGGER: When a tag with ID 17-3C-13-D3 (Ricardo) is scanned. CONDITIONS: None. ACTIONS: If Homeseck alarm panel [alarm_control_panel.homeseck_alarm_panel] is in state triggered, then disarm it with code 1234. Otherwise, if Homeseck alarm panel [alarm_control_panel.homeseck_alarm_panel] is in state armed_away, then disarm it with code 1234. Otherwise, if Homeseck alarm panel [alarm_control_panel.homeseck_alarm_panel] is in state disarmed, then arm it away with code 1234.",
|
|
"natural_language": {
|
|
"trigger": "When a specific NFC tag (ID 17-3C-13-D3, belonging to Ricardo) is scanned.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "The automation checks the current state of the Homeseck alarm panel [alarm_control_panel.homeseck_alarm_panel]. If the alarm is triggered, it will be disarmed using the code 1234. If the alarm is armed away, it will also be disarmed using the code 1234. If the alarm is disarmed, it will be armed in away mode using the code 1234."
|
|
},
|
|
"human_like": "Allows Ricardo to toggle the alarm system between disarmed, armed away, and triggered states by scanning his NFC tag.",
|
|
"complexity": "medium"
|
|
}
|
|
},
|
|
{
|
|
"id": "homeseck-trigger_notification",
|
|
"result": {
|
|
"structured": "TRIGGER: When Home alarm security system [homeseck_security.home_alarm] changes to the 'triggered' state. CONDITIONS: None. ACTIONS: Send a notification with the message 'The alarm has been triggered. A check is advised.'.",
|
|
"natural_language": {
|
|
"trigger": "When the Home alarm security system [homeseck_security.home_alarm] becomes triggered.",
|
|
"conditions": "There are no conditions that must be met.",
|
|
"action": "Sends a notification to the user with the message: 'The alarm has been triggered. A check is advised.'."
|
|
},
|
|
"human_like": "Sends an alert when the home alarm is triggered, advising a check.",
|
|
"complexity": "low"
|
|
}
|
|
}
|
|
] |