fix: updated name recommendations
parent
3c7b336507
commit
741edfd8f7
|
@ -2,11 +2,18 @@
|
||||||
"name-check": {
|
"name-check": {
|
||||||
"$path-prefix": "",
|
"$path-prefix": "",
|
||||||
"$groups": {
|
"$groups": {
|
||||||
"power": [
|
"power-toggle": [
|
||||||
"power",
|
"/^((power|pwr)[_\\s]*)?(toggle)?$/",
|
||||||
"pwr",
|
"/^((power|pwr)[_\\s]*)?((on[_\\/\\s]*off)|(off[_\\/\\s]*on)|toggle)$/",
|
||||||
"/^((power|pwr)[_\\s]*)?(toggle|on|off)$/",
|
"/^(turn[_\\s]*)?((on[_\\/\\s]*off)|(off[_\\/\\s]*on))$/"
|
||||||
"/^(turn[_\\s]*)?(on|off)$/"
|
],
|
||||||
|
"power-off": [
|
||||||
|
"/^((power|pwr)[_\\s]*)?off$/",
|
||||||
|
"/^(turn[_\\s]*)?(off)$/"
|
||||||
|
],
|
||||||
|
"power-on": [
|
||||||
|
"/^((power|pwr)[_\\s]*)?on$/",
|
||||||
|
"/^(turn[_\\s]*)?(on)$/"
|
||||||
],
|
],
|
||||||
"vol_up": [
|
"vol_up": [
|
||||||
"/^vol(ume)?[_\\s]*(up|[\\^+])$/"
|
"/^vol(ume)?[_\\s]*(up|[\\^+])$/"
|
||||||
|
@ -28,9 +35,13 @@
|
||||||
},
|
},
|
||||||
"TVs/*": {
|
"TVs/*": {
|
||||||
"Power": [
|
"Power": [
|
||||||
"$group:power",
|
"$group:power-toggle"
|
||||||
"off",
|
],
|
||||||
"on"
|
"Power_off": [
|
||||||
|
"$group:power-off"
|
||||||
|
],
|
||||||
|
"Power_on": [
|
||||||
|
"$group:power-on"
|
||||||
],
|
],
|
||||||
"Vol_up": [
|
"Vol_up": [
|
||||||
"$group:vol_up"
|
"$group:vol_up"
|
||||||
|
@ -50,13 +61,18 @@
|
||||||
},
|
},
|
||||||
"ACs/*": {
|
"ACs/*": {
|
||||||
"Off": [
|
"Off": [
|
||||||
"off",
|
"$group:power-off"
|
||||||
"/^((power|pwr)[_\\s]*)?off$/"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Audio_Receivers/*,SoundBars/*,Speakers/*": {
|
"Audio_Receivers/*,SoundBars/*,Speakers/*": {
|
||||||
"Power": [
|
"Power": [
|
||||||
"$group:power"
|
"$group:power-toggle"
|
||||||
|
],
|
||||||
|
"Power_off": [
|
||||||
|
"$group:power-off"
|
||||||
|
],
|
||||||
|
"Power_on": [
|
||||||
|
"$group:power-on"
|
||||||
],
|
],
|
||||||
"Vol_up": [
|
"Vol_up": [
|
||||||
"$group:vol_up"
|
"$group:vol_up"
|
||||||
|
|
Loading…
Reference in New Issue