Skip to content

Commit

Permalink
fix: update configuration for dimmer, show brightness settings
Browse files Browse the repository at this point in the history
  • Loading branch information
milo526 committed Dec 22, 2021
1 parent bd3a462 commit 8dd8d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,13 @@
{
"key": "defaults[].min_brightness",
"condition": {
"functionBody": "return (model.defaults[arrayIndices].light_characteristics?.includes('Brightness'))"
"functionBody": "return (model.defaults[arrayIndices].light_characteristics?.includes('Brightness') || model.defaults[arrayIndices].dimmer_characteristics?.includes('Brightness'))"
}
},
{
"key": "defaults[].max_brightness",
"condition": {
"functionBody": "return (model.defaults[arrayIndices].light_characteristics?.includes('Brightness'))"
"functionBody": "return (model.defaults[arrayIndices].light_characteristics?.includes('Brightness') || model.defaults[arrayIndices].dimmer_characteristics?.includes('Brightness'))"
}
},
{
Expand Down

0 comments on commit 8dd8d52

Please sign in to comment.