Skip to content

Instantly share code, notes, and snippets.

View dskindell's full-sized avatar

David Skindell dskindell

  • Amazon
  • Seattle, WA
View GitHub Profile
@dskindell
dskindell / occupancy-response-sml001.yaml
Last active January 18, 2024 20:20 — forked from WizBangCrash/occupancy-response-sml001.yaml
Occupancy Blueprint for Philips Hue SML001 motion sensor
#
# Blueprint to control a light (or lights) using a Philips Hue SML001
# motion sensor connected to Home Assistant via ZHA
#
# Home Assitant configures the sensor to be an Occupancy Sensor at boot,
# setting the Occupied to Unoccipied time and sensitivity of the sensor.
# I used to use HA timers to do this, but Blueprint is now much more simple :-)
#
# Additionally the sensor can be disabled using a oneof two entities.
# I usually link this to a TV state, as I do not want my lights going on & off
@dskindell
dskindell / low-battery-level-detection-notification-for-all-battery-sensors.yaml
Last active February 22, 2024 23:22 — forked from sbyx/low-battery-level-detection-notification-for-all-battery-sensors.yaml
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Low battery level detection & notification for all battery sensors
description:
Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold and if so execute an action.
domain: automation
input:
threshold:
name: Battery warning level threshold
description: