Skip to content

Instantly share code, notes, and snippets.

View shreram's full-sized avatar

Ravi K shreram

  • St. Louis, Missouri, United States
View GitHub Profile
"""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):
@shreram
shreram / 0_reuse_code.js
Last active December 14, 2015 04:43
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console