Skip to content

Instantly share code, notes, and snippets.

View franortiz's full-sized avatar

Francisco Ortiz franortiz

View GitHub Profile
@franortiz
franortiz / tz3000_cayepv1a.py
Last active April 8, 2025 17:40
zigpy quirk for TS011F Circuit Breaker * Tongou TO-Q-SY2-JZT and others
"""TS011F Circuit Breaker * Tongou TO-Q-SY2-JZT."""
"""Supports HA 2024.11"""
from typing import Any, Optional, Union
import logging
import enum
from struct import (iter_unpack, pack)
from zigpy.profiles import zgp, zha
from zigpy.quirks.v2 import (