Repository: zigpy/zha-device-handlers

Issue:
[Device Support Request] Tesla Smart Thermostatic Valve _TZE200_husqqvux TS0601
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I'm trying to add _TZE200_husqqvux TS0601 (Tesla Smart Thermostatic Valve) and cant see any functions like Climate entity. (No entities at all) - I Tried to write in the files by hand, but not seems to work.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Plug and Play support

**Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.**

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_husqqvux",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

**Additional context**
Add any other context or screenshots about the feature request here.



Discussion:
I was adding 2 types of Tesla TSL-TRV-GS361A but with one other model ID for 2 weeks ago but your ID is not the same.

How do your TRV looks like ? 
Is it the same design ad the "old" one ?

Take one look on the tuya TRV Matrix https://github.com/zigpy/zigpy/discussions/653#discussioncomment-314395.
I having this![image](https://user-images.githubusercontent.com/53319400/137506898-5b754cc5-9bf0-4c47-9d35-618cfdb15a47.jpeg)
OK its one TSL-TRV-TV01ZG = one whit label of Zonnsmart TV01-ZG.

I adding it in the quirk and you can testing if its working OK.

I need some minutes :-))
Thank you so much ^^ tell me if i can try. :)
Configuring local quirks in HA https://github.com/zigpy/zha-device-handlers/discussions/693#discussioncomment-857274 and adding the unziped valve.py in the local quirk folder and restarting HA.

If all is OK you is getting the name of the quirk in the device signature and device card like this `Quirk: zhaquirks.tuya.valve.SiterwellGS361_Type1` but with your device type (and not my Siterwell).
[valve.zip](https://github.com/zigpy/zha-device-handlers/files/7354201/valve.zip).

Pleas reporting back how it working.


Dude! Works like charm! Thank you!
Great !!

I making one PR for adding it in ZHA so it being in the next HA release if all is going well.

Then you is updating HA that have the quirk integrated you shall deleting the files in your local quirk folder for not getting problems later then the quirk is being updated in the future.

Resolving patch:
diff --git a/zhaquirks/tuya/valve.py b/zhaquirks/tuya/valve.py
--- a/zhaquirks/tuya/valve.py
+++ b/zhaquirks/tuya/valve.py
@@ -1077,6 +1077,7 @@ class ZonnsmartTV01_ZG(TuyaThermostat):
         #  output_clusters=[10, 25]>
         MODELS_INFO: [
             ("_TZE200_e9ba97vf", "TS0601"),
+            ("_TZE200_husqqvux", "TS0601"),
         ],
         ENDPOINTS: {
             1: {


Test patch: