Skip to content

Commit

Permalink
feat: added LED naming rewrites (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
darmiel authored Oct 7, 2024
1 parent 227c98a commit 4cc2d44
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .fff-ir-lint.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,44 @@
"Mute": [
"$group:mute"
]
},
"LED_Lighting/*": {
"Power_off": [
"$group:power-off"
],
"Power_on": [
"$group:power-on"
],
"Brightness_up": [
"/^(b|bright(ness|en)?|light|lum|dim(mer)?)[_\\s]*(up|\\+|high|more|max|full[_\\s]*up)$/",
"/^more[_\\s]*lights?$/",
"/^b[4r]$/",
"+"
],
"Brightness_dn": [
"/^(b|bright(ness|en)?|light|lum|dim(mer)?)[_\\s]*(down|\\-|low|min(us)?|less|full[_\\s]*down)$/",
"/^less[_\\s]*lights?$/",
"b1",
"-"
],
"Red": [
"/^r(ed)?[_\\s]*(0|1|only)?$/",
"/^light[_\\s]*r(ed)?$/"
],
"Green": [
"/^g(reen)?[_\\s]*(0|1|only)?$/",
"/^light[_\\s]*g(reen)?$/"
],
"Blue": [
"/^b(lue)?[_\\s]*(0|1|only)?$/",
"/^light[_\\s]*b(lue)?$/",
"/^b$/"
],
"White": [
"/^w(hite)?[_\\s]*(1|only)?$/",
"/^warm[_\\s]*w(hite)?$/",
"/^whitish$/"
]
}
}
}

0 comments on commit 4cc2d44

Please sign in to comment.