Skip to content

Instantly share code, notes, and snippets.

View Legot's full-sized avatar
😐
Not dead yet.

Thayne Legot

😐
Not dead yet.
View GitHub Profile
@Legot
Legot / zha-moes-zigbee-rotary-smart-knob-remote-control.yaml
Last active May 19, 2024 20:54 — forked from Drout/zha-moes-zigbee-rotary-smart-knob-remote-control.yaml
ZHA - Moes Tuya Smart Knob (TS004F) controller for any device
blueprint:
name: ZHA - Moes Tuya Smart Knob (TS004F) controller for any devices
description: Control remotes (e.g. volume up/down) with a Moes Tuya smart knob (the spinny ones). You can set functions for single press, rotating left, and rotating right.
domain: automation
source_url: https://gist.github.com/Legot/cf9906e717cc825bda31f6991728d16e # Changed URL
input:
remote:
name: Smart Knob Device
description: Moes Tuya Smart Knob Device to use
selector:
@Legot
Legot / ElectraClimate.h
Last active October 4, 2024 11:15 — forked from liads/ElectraClimate.h
ESPHome climate component for Electra AC (RC-3 IR remote)
#include "esphome.h"
static const char *TAG = "electra.climate";
typedef enum IRElectraMode {
IRElectraModeCool = 0b001,
IRElectraModeHeat = 0b010,
IRElectraModeAuto = 0b011,
IRElectraModeDry = 0b100,
IRElectraModeFan = 0b101,