Skip to content

Instantly share code, notes, and snippets.

@dhedges01
dhedges01 / low-battery-level-detection-notification-for-all-battery-sensors.yaml
Last active November 13, 2022 04: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: Battery sensors below threshold are assumed to be low-battery (as
well as binary battery sensors with value 'on').
@dhedges01
dhedges01 / zen71v2.yaml
Last active October 20, 2022 12:57 — forked from bryanv/zen71.yaml
Zooz ZEN71 Blueprint
blueprint:
name: Zooz ZEN71 700 Series On/Off Switch 2.10
description: Create automations for Zooz ZEN71 700 Series On/Off Switch 2.10
domain: automation
input:
zwave_device:
name: Zooz ZEN71
description: "List of available Zooz ZEN71 switches."
selector:
device:
@dhedges01
dhedges01 / ikea-shortcut-button-blueprint.yaml
Last active October 16, 2022 02:14 — forked from cydia2020/ikea-shortcut-button-blueprint.yaml
IKEA TRÅDFRI Shortcut Button Blueprint for Home Assistant
# Ikea Shortcut Button Blueprint for Home Assistant
blueprint:
name: ZHA - IKEA TRÅDFRI Shortcut Button
description: Home Assistant automation Blueprint for the TRÅDFRI Shortcut Button, supports single, double and long presses.
domain: automation
input:
shortcut_button:
name: Device
description: Select a device...
@dhedges01
dhedges01 / GPWmiFilter.Tests.ps1
Created March 23, 2017 18:13
Test Group Policy WMI Filters with Pester
# Requires GPWmiFilter.psm1 module from https://gallery.technet.microsoft.com/scriptcenter/Group-Policy-WMI-filter-38a188f3
[CmdletBinding()]
Param()
Set-Location $env:SystemDrive | Out-Null
Try{
Import-Module -Name ActiveDirectory -ErrorAction Stop | Out-Null
Import-Module GroupPolicy -ErrorAction Stop | Out-Null