Skip to content

Instantly share code, notes, and snippets.

View leroyshirto's full-sized avatar

Leroy Shirto leroyshirto

View GitHub Profile
@leroyshirto
leroyshirto / automations.yml
Last active July 8, 2020 07:28
Automation to Receive Shared Location Updates via a webhook
- alias: Receive Shared Location Updates
description: Webhook to receive shared location data
trigger:
- platform: webhook
webhook_id: update_user_location
condition: []
action:
- data_template:
battery: '{{ trigger.json.battery | int}}'
dev_id: '{{ trigger.json.dev_id }}'

Xiaomi Aquara Neutral Line Double Key switch

single_click:
  left: 1002
  Right: 2002
double_click:
  left: 1004
  right: 2004
long_press:
### Keybase proof
I hereby claim:
* I am leroyshirto on github.
* I am leroyshirto (https://keybase.io/leroyshirto) on keybase.
* I have a public key whose fingerprint is FED3 A6C6 9EAB DE05 28E0 4C54 4194 386F D45C 83EF
To claim this, I am signing this object:
@leroyshirto
leroyshirto / helm-cheatsheet.md
Created February 27, 2018 15:16 — forked from tuannvm/cka.md
#Helm #Kubernetes #cheatsheet, happy helming!