Skip to content

Commit

Permalink
Correct dimLevel example
Browse files Browse the repository at this point in the history
  • Loading branch information
ianperrin committed Sep 27, 2016
1 parent 130762f commit 03ec8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Modify the configuration for the modules you wish to control the display of usin
To dim a module, rather than hide it, add the `dimLevel` (as a percentage between 0 and 100), to the `module_schedule` option. e.g.
````javascript
// DISPLAY BETWEEN 06:30 AND 22:30 AND DIM IT TO 25% AT ALL OTHER TIMES
module_schedule: [{from: '30 9 * * *', to: '30 22 * * *', dimLevel: '25'}]
module_schedule: [{from: '30 6 * * *', to: '30 22 * * *', dimLevel: '25'}]
````
**Note:** the module will show (full brightness) based on the `from` expression and then either hide (or dim if the `dimLevel` is set) based on the `to` expression.

Expand Down

0 comments on commit 03ec8a3

Please sign in to comment.