Skip to content

Instantly share code, notes, and snippets.

"""Shelly 1PM Gen4 Pure V2 Quirk using the QuirkBuilder pattern.
This version uses the correct AttributeDefs pattern within the custom clusters
to ensure the .replaces() method works correctly during initialization.
"""
from __future__ import annotations
import enum
import logging
blueprint:
name: Use a Terncy Smart Dial to control covers
description: |
• Turn the dial left or right to change the cover position.
• Single click to toggle open or close fully.
• Double click to set a favorite cover position.
• Triple, Quadruple, and Quintuple clicks are configurable.
domain: automation
input:
dial:
@tube0013
tube0013 / module.yaml
Created February 13, 2021 21:09 — forked from oxan/README.md
Stream server (serial-to-wifi bridge) for ESPHome
esphome:
# ...
includes:
- stream_server.h
- stream_server.cpp
uart:
id: uart_bus
# ...
blueprint:
name: Battery Level Notification 10
description:
Send a notification to a device when battery drops below a specified
value - Pick 10 devices
domain: automation
input:
battery_entity_0:
name: "Entity_01"
selector:
@tube0013
tube0013 / esphome_zb_bridge_eth.yaml
Created December 17, 2020 15:19
esphome_zb_bridge_eth
esphome:
name: esphome_zb_bridge_eth
platform: ESP32
board: esp-wrover-kit
includes:
- stream_server.h
- stream_server.cpp
ethernet:
blueprint:
name: Lutron Pico 5 Button
description: Toggle a light based on state of Pico middle button using the Custom Lutron Component
domain: automation
input:
pico_remote_1:
name: pico_remote_1
selector:
entity:
domain: sensor