Skip to content

Instantly share code, notes, and snippets.

View SciLor's full-sized avatar
🏠
Working from home

0xbadbee SciLor

🏠
Working from home
  • Munich, Germany
View GitHub Profile
@SciLor
SciLor / multiclick-binary-sensor.yaml
Created December 20, 2022 19:23
Home Assistant: Different Actions on short, long, double and triple clicks for binary sensors - Works for ShellyForHass
blueprint:
name: Multi and long click
description: Different Actions on short, long, double and triple clicks
domain: automation
input:
switch_id:
name: Binary sensor entity
description: The binary_sensor used to trigger the automation
selector:
entity:
@SciLor
SciLor / Change main to master
Created October 15, 2020 17:51
Change main to master
git branch -m main master
git status
git push -u origin master
Change default branch on github (See /settings/branches)
git push origin --delete main