Skip to content

Instantly share code, notes, and snippets.

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

Alexey Rodionov Stayer

🏠
Working from home
View GitHub Profile
@Stayer
Stayer / blueprint.yaml
Last active October 8, 2021 16:23
Aqara Buttons All-In-One [SLS]
blueprint:
name: Aqara Buttons All-In-One [Zigbee2MQTT]
description: |
All-In-One package for Aqara Switches.
Supports: WXKG11LM, WXKG12LM, WXKG03LM, WXKG06LM, WXKG07LM, WXKG02LM, QBKG03LM, QBKG04LM, QBKG11LM, QBKG12LM, QBKG21LM, QBKG22LM, QBKG25LM, etc..).
Does not supports Opple.
Some actions may be unsupported by your switch. Check the available actions of your device on zigbee2mqtt.io.
domain: automation
input:
action_sensor:
@Stayer
Stayer / WXKG02LM.yaml
Last active April 7, 2023 18:05
Zigbee2MQTT, SLS - Aqara Wall Wireless Switch Double Key Edition (WXKG02LM)
blueprint:
name: v2 Zigbee2MQTT, SLS - Aqara Wall Wireless Switch Double Key Edition (WXKG02LM) actions
description: >
Define actions your Aqara Wall Wireless Switch Double Key Edition using Zigbee2MQTT or SLS.
For your button entity, choose the right sensor with your button name and the entity id which ends with '_action', e.g. 'sensor.kitchen.button_action'
domain: automation
input:
switch:
name: Aqara Wall Wireless Switch Double Key Edition sensor entity
description: Sensor forAqara Wall Wireless Switch Double Key Edition to use (Use sensor with entity_id ends with _action)
@Stayer
Stayer / .eslintrc
Created August 20, 2019 21:52
frontend
extends: plugin:vue/recommended
rules:
"no-console": "off"
parserOptions:
parser: babel-eslint
ecmaVersion: 2017
sourceType: module
@Stayer
Stayer / install.sh
Last active November 26, 2018 15:03
Install docker-ce && docker-compose Ubuntu
# preparing
sudo apt-get -yq remove docker docker-engine docker.io
sudo rm /usr/local/bin/docker-compose
# docker
sudo apt-get update
sudo apt-get -yq install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common