This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """TS011F Circuit Breaker * Tongou TO-Q-SY2-JZT.""" | |
| """Supports HA 2025.08""" | |
| 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 ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Luminance motion sensor ZG-204ZS""" | |
| from typing import Dict, Final | |
| from zigpy.quirks.v2 import QuirkBuilder | |
| import zigpy.types as t | |
| from zigpy.zcl.clusters.measurement import IlluminanceMeasurement, OccupancySensing | |
| from zigpy.zcl.clusters.security import IasZone | |
| from zigpy.zcl.clusters.general import Identify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| * TS0601 ZG-204ZM | |
| * _TZE200_kb5noeto | |
| * Works with HA 2024.11 - updated by @txip (Update 2) | |
| * https://de.aliexpress.com/item/1005006174074799.html ("Color": Mmwave PIR) | |
| * https://github.com/13717033460/zigbee-herdsman-converters/blob/6c9cf1b0de836ec2172d569568d3c7fe75268958/src/devices/tuya.ts#L5730-L5762 | |
| * https://www.zigbee2mqtt.io/devices/ZG-204ZM.html | |
| * https://smarthomescene.com/reviews/zigbee-battery-powered-presence-sensor-zg-204zm-review/ | |
| * https://doc.szalarm.com/zg-205ZL/cntop_zigbee_sensor.js | |
| * https://github.com/Koenkk/zigbee2mqtt/issues/21919 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Wake-up light alarm RGB | |
| description: 'A wake-up light alarm with a brightness and color sat sunrise | |
| effect. Note: Requires date_time_iso sensor in configuration, not manually executable!' | |
| domain: automation | |
| input: | |
| light_entity: | |
| name: Wake-up light entity | |
| description: The light to control. Turning it off during the sunrise will keep | |
| it off. Color temperature range is auto-detected. |