Ok… first, grab this file:
https://github.com/zigpy/zha-device-handlers/files/9844752/ts0601_trv_beca.py.zip
Next, setup your HA to use local quirks as follows:
The steps as I understand them:
- Create a custom quirk dir in HA, e.g.,
/config/custom_zha_quirks
- In configuration.yaml, point to this directory:
zha:
custom_quirks_path: /config/custom_zha_quirks/
- in this directory, put the file you just downloaded and restart HA.
If you don’t know how to create folders in your HA install, then I recommend you use a file editor like ‘studio code editor’ which you can search for and download from system → Addons. (You can also use this to edit your configuration.yaml file)
If you find the quirk doesn’t run correctly, or throws errors in your installation, let me know, as I seem to recall I had to edit mine after an HA update broke it recently, and I’m not sure if the link I gave you above, has that fix in it.
UPDATE:
You also have to unzip the file in the link above, and I have checked and that file still has the problem in it. To fix this is very easy
Once you have extracted the .py file from the zip, open it with a text editor and search for this line:
attr_name = self.attributes[record.attrid][0]
It should be in the file twice.
Change those two lines for
attr_name = self.attributes[record.attrid].name
Save the editted .py file and then put this into the folder in step 3