Skip to content

Instantly share code, notes, and snippets.

View pauln's full-sized avatar

Paul Nicholls pauln

  • Christchurch, New Zealand
View GitHub Profile
@raido
raido / index.js
Last active January 26, 2021 01:21
Ember Addon treeForPublic, so included assets from addon would not be namespaced.
/* jshint node: true */
'use strict';
var Funnel = require('broccoli-funnel');
var mergeTrees = require('broccoli-merge-trees');
module.exports = {
name: '<your addon>',
/**
@garanda21
garanda21 / 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').