Align template punctuation
This commit is contained in:
parent
176baa8ede
commit
4441b458c6
@ -1,7 +1,6 @@
|
||||
{
|
||||
"templates": [
|
||||
{
|
||||
"interfaceName": "accesscontrol",
|
||||
"description": "Alert me on denied access attempts",
|
||||
"ruleNameTemplate": "Denied access attempt on %0",
|
||||
"eventDescriptorTemplates": [
|
||||
@ -30,7 +29,6 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "accesscontrol",
|
||||
"description": "Notify my about access",
|
||||
"ruleNameTemplate": "Access granted on %0",
|
||||
"eventDescriptorTemplates": [
|
||||
@ -59,7 +57,6 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "useraccesscontrol",
|
||||
"description": "Notify my about user access",
|
||||
"ruleNameTemplate": "Access granted to user on %0",
|
||||
"eventDescriptorTemplates": [
|
||||
|
||||
@ -100,7 +100,6 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "button",
|
||||
"description": "Turn off all lights",
|
||||
"ruleNameTemplate": "Turn off everything with %0",
|
||||
"eventDescriptorTemplates": [
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
{
|
||||
"templates": [
|
||||
{
|
||||
"interfaceName": "daylightsensor",
|
||||
"description": "Turn on a light while it's dark outside.",
|
||||
"description": "Turn on a light while it's dark outside",
|
||||
"ruleNameTemplate": "Turn on %1 while it's dark outside",
|
||||
"stateEvaluatorTemplate": {
|
||||
"stateDescriptorTemplate": {
|
||||
@ -41,9 +40,8 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "daylightsensor",
|
||||
"description": "Turn on a light when it gets dark outside.",
|
||||
"ruleNameTemplate": "Turn on %1 when it gets dark outside (%0).",
|
||||
"description": "Turn on a light when it gets dark outside",
|
||||
"ruleNameTemplate": "Turn on %1 when it gets dark outside (%0)",
|
||||
"eventDescriptorTemplates": [
|
||||
{
|
||||
"interfaceName": "daylightsensor",
|
||||
@ -73,9 +71,8 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "daylightsensor",
|
||||
"description": "Turn on all lights when it gets dark outside.",
|
||||
"ruleNameTemplate": "Turn on all lights when it gets dark outside.",
|
||||
"description": "Turn on all lights when it gets dark outside",
|
||||
"ruleNameTemplate": "Turn on all lights when it gets dark outside",
|
||||
"eventDescriptorTemplates": [
|
||||
{
|
||||
"interfaceName": "daylightsensor",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"templates": [
|
||||
{
|
||||
"description": "Notify me when a device runs out of battery.",
|
||||
"description": "Notify me when a device runs out of battery",
|
||||
"ruleNameTemplate": "Low battery alert for %0",
|
||||
"stateEvaluatorTemplate": {
|
||||
"stateDescriptorTemplate": {
|
||||
@ -32,7 +32,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Notify me when something runs dry.",
|
||||
"description": "Notify me when something runs dry",
|
||||
"ruleNameTemplate": "Notify %1 when %0 runs dry",
|
||||
"stateEvaluatorTemplate": {
|
||||
"stateDescriptorTemplate": {
|
||||
@ -63,7 +63,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Notify me when a thing gets disconnected.",
|
||||
"description": "Notify me when a thing gets disconnected",
|
||||
"ruleNameTemplate": "Disconnect alert for %0",
|
||||
"stateEvaluatorTemplate": {
|
||||
"stateDescriptorTemplate": {
|
||||
@ -95,8 +95,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "notifications",
|
||||
"description": "Notify me when a thing connects.",
|
||||
"description": "Notify me when a thing connects",
|
||||
"ruleNameTemplate": "Connection notification for %0",
|
||||
"stateEvaluatorTemplate": {
|
||||
"stateDescriptorTemplate": {
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
{
|
||||
"templates": [
|
||||
{
|
||||
"interfaceName": "presencesensor",
|
||||
"description": "Turn on something while being present.",
|
||||
"description": "Turn on something while being present",
|
||||
"ruleNameTemplate": "Turn on %1 while %0 reports presence",
|
||||
"stateEvaluatorTemplate": {
|
||||
"stateDescriptorTemplate": {
|
||||
@ -41,8 +40,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "presencesensor",
|
||||
"description": "Turn off something when leaving.",
|
||||
"description": "Turn off something when leaving",
|
||||
"ruleNameTemplate": "Turn off %1 when %0 reports leaving",
|
||||
"eventDescriptorTemplates": [
|
||||
{
|
||||
@ -73,8 +71,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "presencesensor",
|
||||
"description": "Turn off everything when leaving.",
|
||||
"description": "Turn off everything when leaving",
|
||||
"ruleNameTemplate": "Turn off everything when %0 reports leaving",
|
||||
"eventDescriptorTemplates": [
|
||||
{
|
||||
@ -106,8 +103,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "presencesensor",
|
||||
"description": "Turn off all lights when leaving.",
|
||||
"description": "Turn off all lights when leaving",
|
||||
"ruleNameTemplate": "Turn off all lights when %0 reports leaving",
|
||||
"eventDescriptorTemplates": [
|
||||
{
|
||||
@ -139,8 +135,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "presencesensor",
|
||||
"description": "Turn on something when arriving.",
|
||||
"description": "Turn on something when arriving",
|
||||
"ruleNameTemplate": "Turn on %1 when %0 reports arriving",
|
||||
"eventDescriptorTemplates": [
|
||||
{
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
{
|
||||
"templates": [
|
||||
{
|
||||
"interfaceName": "extendedsmartmeterproducer",
|
||||
"description": "Charge my car while producing energy.",
|
||||
"description": "Charge my car while producing energy",
|
||||
"ruleNameTemplate": "Smart car charging",
|
||||
"stateEvaluatorTemplate": {
|
||||
"stateDescriptorTemplate": {
|
||||
@ -41,8 +40,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"interfaceName": "extendedsmartmeterproducer",
|
||||
"description": "Turn on heating while producing energy.",
|
||||
"description": "Turn on heating while producing energy",
|
||||
"ruleNameTemplate": "Smart heating",
|
||||
"stateEvaluatorTemplate": {
|
||||
"stateDescriptorTemplate": {
|
||||
|
||||
Reference in New Issue
Block a user