zigpy / zha-device-handlers

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
744 stars 681 forks source link

[Device Support Request] _TZE200_9xfjixap Tuya Smart TRV Radiator actuator #3445

Open Superbrain8 opened 4 days ago

Superbrain8 commented 4 days ago

Problem description

Tuya TRV not Recognized by zha same design as _TZE200_yw7cahqs

Solution description

adding a quirk for this device

Screenshots/Video

Screenshots/Video [Paste/upload your media here]

Device signature

Device signature ```json { "node_descriptor": { "logical_type": 2, "complex_descriptor_available": 0, "user_descriptor_available": 0, "reserved": 0, "aps_flags": 0, "frequency_band": 8, "mac_capability_flags": 128, "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" ] } }, "manufacturer": "_TZE200_9xfjixap", "model": "TS0601", "class": "zigpy.device.Device" } ```

Diagnostic information

Diagnostic information ```json [Paste the diagnostic information here] ```

Logs

Logs ```python [Paste the logs here] ```

Custom quirk

Custom quirk ```python [Paste your custom quirk here] ```

Additional information

ive tried to use the quirk from here https://github.com/zigpy/zha-device-handlers/issues/1818#issuecomment-1279997935 but it has some error with creating a command and refuses to work for me it matches the inputs

Superbrain8 commented 3 days ago

https://github.com/home-assistant/core/issues/86347 Added quirk from this thread. Modified it to contain the ID from my Device Works also for this Device

airdrop-icicles commented 1 day ago

Hello,

Apologies I am new to quirks, how/where did you modify the file to include the Device ID?

Cheers,

Superbrain8 commented 1 day ago

there is a section that looks like this MODELS_INFO: [ ("_TZE200_bvu2wnxz", "TS0601"), ("_TZE200_6rdj8dzm", "TS0601"), ], you add another ID in the same Schema