Created
November 4, 2016 21:47
-
-
Save vartana/efa786aada39dc3b7d87b69af7960080 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(!hour >= settings.config.lightOn || !hour <= settings.config.lightOff) { | |
lightOn(data); | |
} else { | |
lightOff(data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment