Improve action descriptions of ness_alarm integration (#138921)
- for the panic action change the description to "Triggers a panic _alarm_" as we don't want to trigger a panic ;-) - for the aux action replace "Trigger …" with "Changes the state of an aux output" as it can turn this off as well - clarify the description of the state field, dropping "true" for a UI-friendly wordingpull/138925/head
parent
d24a14442f
commit
66af5ca1e9
|
@ -2,7 +2,7 @@
|
||||||
"services": {
|
"services": {
|
||||||
"aux": {
|
"aux": {
|
||||||
"name": "Aux",
|
"name": "Aux",
|
||||||
"description": "Trigger an aux output.",
|
"description": "Changes the state of an aux output.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"output_id": {
|
"output_id": {
|
||||||
"name": "Output ID",
|
"name": "Output ID",
|
||||||
|
@ -10,17 +10,17 @@
|
||||||
},
|
},
|
||||||
"state": {
|
"state": {
|
||||||
"name": "State",
|
"name": "State",
|
||||||
"description": "The On/Off State. If P14xE 8E is enabled then a value of true will pulse output x for the time specified in P14(x+4)E."
|
"description": "The on/off state of the output. If P14xE 8E is enabled then turning on will pulse the output for the time specified in P14(x+4)E."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"panic": {
|
"panic": {
|
||||||
"name": "Panic",
|
"name": "Panic",
|
||||||
"description": "Triggers a panic.",
|
"description": "Triggers a panic alarm.",
|
||||||
"fields": {
|
"fields": {
|
||||||
"code": {
|
"code": {
|
||||||
"name": "Code",
|
"name": "Code",
|
||||||
"description": "The user code to use to trigger the panic."
|
"description": "The user code to use to trigger the panic alarm."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue