72 lines
1.4 KiB
JSON
72 lines
1.4 KiB
JSON
|
{
|
||
|
"name-check": {
|
||
|
"$path-prefix": "",
|
||
|
"$groups": {
|
||
|
"power": [
|
||
|
"power",
|
||
|
"pwr",
|
||
|
"/^((power|pwr)[_\\s]*)?(toggle|on|off)$/",
|
||
|
"/^(turn[_\\s]*)?(on|off)$/"
|
||
|
],
|
||
|
"vol_up": [
|
||
|
"/^vol(ume)?[_\\s]*(up|[\\^+])$/"
|
||
|
],
|
||
|
"vol_dn": [
|
||
|
"/^vol(ume)?[_\\s]*(d(o?w)?n|[v\\-])$/"
|
||
|
],
|
||
|
"ch_next": [
|
||
|
"/^ch(an(nel)?)?[_\\s]*(up|[\\^+])$/"
|
||
|
],
|
||
|
"ch_prev": [
|
||
|
"/^ch(an(nel)?)?[_\\s]*(d(o?w)?n|[\\v-])$/"
|
||
|
],
|
||
|
"mute": [
|
||
|
"mute",
|
||
|
"mte",
|
||
|
"/^mute.*$/"
|
||
|
]
|
||
|
},
|
||
|
"TVs/*": {
|
||
|
"Power": [
|
||
|
"$group:power",
|
||
|
"off",
|
||
|
"on"
|
||
|
],
|
||
|
"Vol_up": [
|
||
|
"$group:vol_up"
|
||
|
],
|
||
|
"Vol_dn": [
|
||
|
"$group:vol_dn"
|
||
|
],
|
||
|
"Ch_next": [
|
||
|
"$group:ch_next"
|
||
|
],
|
||
|
"Ch_prev": [
|
||
|
"$group:ch_prev"
|
||
|
],
|
||
|
"Mute": [
|
||
|
"$group:mute"
|
||
|
]
|
||
|
},
|
||
|
"ACs/*": {
|
||
|
"Off": [
|
||
|
"off",
|
||
|
"/^((power|pwr)[_\\s]*)?off$/"
|
||
|
]
|
||
|
},
|
||
|
"Audio_Receivers/*,SoundBars/*,Speakers/*": {
|
||
|
"Power": [
|
||
|
"$group:power"
|
||
|
],
|
||
|
"Vol_up": [
|
||
|
"$group:vol_up"
|
||
|
],
|
||
|
"Vol_dn": [
|
||
|
"$group:vol_dn"
|
||
|
],
|
||
|
"Mute": [
|
||
|
"$group:mute"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|