ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
720
stars
669
forks
source link
[Device Support Request] Tuya Smart Air Detector #3302
Problem description
this air sensor: TS0601 by _TZE204_yvx5lh6k https://www.aliexpress.com/item/1005005123624201.html?spm=a2g0o.order_list.order_list_main.5.1ff11802snuqlb is not in the list: https://github.com/zigpy/zha-device-handlers/blob/156aaa6bb704a13fe9500b833c293405fc5ffd79/zhaquirks/tuya/air/ts0601_air_quality.py#L37 almost the same included but would be useful to add this device too
Solution description
add: ("_TZE204_yvx5lh6k", "TS0601"),
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]Device signature
Device signature
```json [Paste the device signature here] ```Diagnostic information
Diagnostic information
```json "data": { "ieee": "**REDACTED**", "nwk": 31560, "manufacturer": "_TZE204_yvx5lh6k", "model": "TS0601", "name": "_TZE204_yvx5lh6k TS0601", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "quirk_id": null, "manufacturer_code": 4417, "power_source": "Mains", "lqi": 201, "rssi": null, "last_seen": "2024-08-16T13:50:59", "available": true, "device_type": "Router", "signature": { "node_descriptor": { "logical_type": 1, "complex_descriptor_available": 0, "user_descriptor_available": 0, "reserved": 0, "aps_flags": 0, "frequency_band": 8, "mac_capability_flags": 142, "manufacturer_code": 4417, "maximum_buffer_size": 66, "maximum_incoming_transfer_size": 66, "server_mask": 10752, "maximum_outgoing_transfer_size": 66, "descriptor_capability_field": 0 }, "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x0051", "input_clusters": [ "0x0000", "0x0004", "0x0005", "0xef00" ], "output_clusters": [ "0x000a", "0x0019" ] }, "242": { "profile_id": "0xa1e0", "device_type": "0x0061", "input_clusters": [], "output_clusters": [ "0x0021" ] } }, "manufacturer": "_TZE204_yvx5lh6k", "model": "TS0601" }, "active_coordinator": false, "entities": [ { "entity_id": "sensor.tze204_yvx5lh6k_ts0601_rssi", "name": "_TZE204_yvx5lh6k TS0601" }, { "entity_id": "sensor.tze204_yvx5lh6k_ts0601_lqi", "name": "_TZE204_yvx5lh6k TS0601" }, { "entity_id": "update.levego_minoseg_firmware", "name": "_TZE204_yvx5lh6k TS0601" } ], ```Logs
Logs
```python [Paste the logs here] ```Custom quirk
Custom quirk
```python [Paste your custom quirk here] ```Additional information
No response