Skip to content

Instantly share code, notes, and snippets.

View Jordi-m's full-sized avatar

Jordi Jordi-m

  • Rotterdam, Nederland
View GitHub Profile
@kurohouou
kurohouou / low-battery-and-unavailable-check.yaml
Last active April 4, 2025 05:07 — 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 and Device Unavailable Check
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold as well as if it is unavailable.
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').
@stolarczyk
stolarczyk / README.md
Last active April 28, 2025 20:01
Save GitHub issues as TSV

Save GitHub issues as TSV

This script saves GitHub issues in TSV format

Installation

The script has two software dependancies:

  1. GitHub CLI for querying GitHub API
  2. jq for transforming the output of the above to TSV format