Skip to content

Instantly share code, notes, and snippets.

View mcwitt's full-sized avatar

Matt Wittmann mcwitt

View GitHub Profile
@mcwitt
mcwitt / wake-up-light-alarm-with-sunrise-effect.yaml
Created September 22, 2023 17:16 — forked from sbyx/wake-up-light-alarm-with-sunrise-effect.yaml
Home Assistant Blueprint: Wake-up light alarm with sunrise effect
blueprint:
name: Wake-up light alarm with sunrise effect
description: 'A wake-up light alarm with a brightness and color temperature sunrise
effect. Note: Requires date_time_iso sensor in configuration, not manually executable!'
domain: automation
input:
light_entity:
name: Wake-up light entity
description: The light to control. Turning it off during the sunrise will keep
it off. Color temperature range is auto-detected.
@mcwitt
mcwitt / jekyll-post.py
Last active August 29, 2015 14:20 — forked from cscorley/jekyll.py
try:
from urllib.parse import quote # Py 3
except ImportError:
from urllib2 import quote # Py 2
import os
import sys
c = get_config()
c.NbConvertApp.export_format = 'markdown'
c.MarkdownExporter.template_file = 'jekyll-post'