Skip to content

Instantly share code, notes, and snippets.

@carsonb
carsonb / motion_aware_lights_with_dimming.yaml
Last active February 1, 2021 03:51
Home Assistant Motion Aware Lights with Dimming Blueprint
blueprint:
name: Motion Aware Lights with Dimming
description: >
Turn a light on and off based on detected motion but only if certain criteria a matched provided by a Illuminance-Sensor or a Binary-Sensor.
Also allows to disable motion aware lights. This might be useful for example if a person is in the bed or a movie is playing.
Adapted from https://gist.github.com/pavax/ce9559c428b9a3c369ce79ef215ef1e2
domain: automation
source_url: https://gist.github.com/carsonb/2ed87b78f133976af26dbd585de62036
input:
motion_sensor:
@carsonb
carsonb / order-confirmation.liquid
Created July 5, 2014 17:26
Pretty order confirmation (requires POS/Mobile install for assets)
<!-- Put the Hex code for the header font colour here -->
{% assign header_font_color = '#FFFFFF' %}
<!-- Put the Hex code for the header background colour here -->
{% assign header_bg_color = '#479ccf' %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="format-detection" content="telephone=no">

Keybase proof

I hereby claim:

  • I am carsonb on github.
  • I am carsonb (https://keybase.io/carsonb) on keybase.
  • I have a public key whose fingerprint is 3E20 29E4 6F52 291B FB46 D309 4405 B00F 175E B556

To claim this, I am signing this object: