This file contains hidden or 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
"""Define automations for evening-time lighting.""" | |
import appdaemon.appapi as appapi | |
import time | |
from datetime import datetime, timedelta | |
class TurnOnLightsAtSunset(appapi.AppDaemon): | |
"""Define a class to represent the app.""" | |
def initialize(self): |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |