Skip to content

Instantly share code, notes, and snippets.

View lellky's full-sized avatar

Jonas Fors Lellky lellky

View GitHub Profile
@lellky
lellky / automations.yaml
Created November 19, 2020 11:45
Home assistant washing machine automation
- id: washingmachine_washing
alias: Tvättmaskinen - tvättar
trigger:
- above: 100
entity_id: sensor.tvattmaskinen_power
for: 00:00:10
platform: numeric_state
action:
- service: input_select.select_option
data:
@lellky
lellky / core_integration_pr
Created December 1, 2023 07:26 — forked from bdraco/core_integration_pr
Install HA Core PR as custom component
#!/bin/bash
# curl -o- -L https://gist.githubusercontent.com/bdraco/43f8043cb04b9838383fd71353e99b18/raw/core_integration_pr | bash /dev/stdin -d domain -p 12345
while getopts d:p: flag
do
case "${flag}" in
d) domain="${OPTARG}";;
p) pull_request="${OPTARG}";;
esac
done