jacekk015 / zha_quirks

All quirks in one place
MIT License
144 stars 20 forks source link

ts0601_trv_maxsmart.py stopped working #17

Closed HeyMeco closed 1 year ago

HeyMeco commented 1 year ago

From HA Logs:

Logger: zhaquirks
Source: zha_quirks/ts0601_trv_maxsmart.py:178
First occurred: 00:10:31 (1 occurrences)
Last logged: 00:10:31

Unexpected exception importing custom quirk 'ts0601_trv_maxsmart'
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/zhaquirks/__init__.py", line 460, in setup
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/config/zha_quirks/ts0601_trv_maxsmart.py", line 178, in <module>
    class MaxsmartManufCluster(TuyaManufClusterAttributes):
  File "/usr/local/lib/python3.11/site-packages/zigpy/zcl/__init__.py", line 165, in __init_subclass__
    raise TypeError(f"Duplicate definitions exist for {duplicates}")
TypeError: Duplicate definitions exist for ['child_lock', 'battery']