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 / home_assistant-notify_agent_agenda.yaml
Last active June 21, 2024 15:49
home_assistant-notify_agent_agenda.yaml
blueprint:
name: Conversation agent agenda notification
description:
Conversation agent generates a notification based on the upcoming calendar
agenda, location, and weather.
author: allenporter
domain: automation
input:
triggers:
name: Custom Triggers
@dskindell
dskindell / low-battery-level-detection-notification-for-all-ha-battery-notes-battery-sensors.yaml
Last active February 23, 2024 00:48
Low battery level detection & notification for all HA-Battery-Notes battery sensors
blueprint:
name: Low battery level detection & notification for all HA-Battery-Notes battery sensors
description:
Regularly test all ha-battery-notes (https://github.com/andrew-codechimp/HA-Battery-Notes)
sensors with 'battery' device-class for crossing the configured battery level threshold
and if so, execute an action.
domain: automation
input:
time:
name: Time to test on
@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 / philips-hue-dimmer-remote-with-phillips-hue-bridge.yaml
Last active May 8, 2023 03:05
philips-hue-dimmer-remote-with-phillips-hue-bridge.yaml
blueprint:
name: Philips Hue Dimmer Remote with Phillips Hue Bridge
description:
'Control lights with a Philips Hue Dimmer Switch via Phillips Hue Bridge.
The top "on" button will turn the lights on to the last set brightness
Dim up/down buttons will change the brightness smoothly and can be pressed
@dskindell
dskindell / problem-detection-notification-for-all-plant-sensors.yaml
Last active January 18, 2024 20:20
Regularly test all plant devices (using https://github.com/Olen/homeassistant-plant) with temperature, moisture, illumination, dpi, humidity, or conductivity that are too low or too high
# Fork of https://community.home-assistant.io/t/plant-moisture-notification/369425
blueprint:
name: Low/High plant sensor level detection & notification for all plant devices
description:
Regularly test all plant devices (using https://github.com/Olen/homeassistant-plant)
with temperature, moisture, illumination, dpi, humidity, or conductivity that are
too low or too high
domain: automation
input:
time:
@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:
@dskindell
dskindell / kitty.conf
Created June 3, 2020 04:32
Kitty terminal configuration
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
include ./kitty-themes/themes/Solarized_Dark_Higher_Contrast.conf
#: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
@dskindell
dskindell / .skhdrc
Last active January 23, 2024 18:46
OSX yabai & skhd Configuration
####### Shortcut Hotkeys #############
# open terminal
lalt - return : $HOME/.config/skhd/open_terminal.sh --single-instance
lalt + shift - return : $HOME/.config/skhd/open_terminal.sh
#alt - t : osascript -e 'tell application "iTerm2" to create window with default profile'
# restart Yabi, SpaceBar, and SKHD
#lalt + lcmd - r : \
# launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"; \
# skhd --reload
@dskindell
dskindell / .chunkwmrc
Last active June 3, 2020 04:29
OSX chunkwm/skhd configuration
#!/bin/bash
#
# NOTE: any 'chunkc' command that is run from this config file
# that is NOT 'chunkc core::<..>' or 'chunkc set ..'
# MUST be put in the background using &
#
# e.g:
# chunkc tiling::rule --owner Finder --name Copy --state float &
#
@dskindell
dskindell / i3_config
Last active March 25, 2019 17:41
Personal i3 configuration/scripts
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!