Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Low temperature detection
description: Detect if there the temperature is too low on any sensor
domain: automation
input:
threshold:
name: Temperature level threshold
description: When the temerature goes below this threshold, the automation is triggerd.
default: 10
selector:
@mjking
mjking / turn_off_idle_switch.yaml
Last active May 6, 2022 18:36 — forked from cobryan05/turn_off_idle_switch.yaml
Blueprint - Turn off switch when no motion
blueprint:
name: Turn off unoccupied switches
source_url: https://gist.github.com/mjking/2de2cf57287cddb90f6af455bc3b2f7e
description: Turn off a switch that has been left on with no motion
domain: automation
input:
motion_entity:
name: Motion Sensor
selector:
entity:
blueprint:
name: Send a notification with camera snapshot when motion is detected with blocking state and URL (or lovelace view) on click, critical or not, collapse or not.
description: >
Based on https://community.home-assistant.io/t/send-camera-snapshot-notification-on-motion/254565/65
Changing event attribute on motion trigger to person for Unifi Protect cameras
This automation blueprint creates a camera snapshot if motion is detected
and sends a notification to your phone with the picture.
Optionally you can define a binary sensor that will block the automation from running when state is ON.
For Example do not run when somebody is home (you can use the people_home template example).
@mjking
mjking / hack.sh
Created April 4, 2012 22:33 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#