When doing what i wrote before, i get the following error.
ModuleNotFoundError: No module named ‘zhaquirks.tuya.builder’
Logger: zhaquirks
Quelle: /usr/local/lib/python3.12/site-packages/zhaquirks/__init__.py:464
Erstmals aufgetreten: 16:00:44 (1 Vorkommnisse)
Zuletzt protokolliert: 16:00:44
Unexpected exception importing custom quirk 'ts_0601_sensor'
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/zhaquirks/__init__.py", line 462, in setup
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/config/custom_zha_quir/ts_0601_sensor.py", line 16, in <module>
from zhaquirks.tuya.builder import TuyaQuirkBuilder, TuyaTemperatureMeasurement
ModuleNotFoundError: No module named 'zhaquirks.tuya.builder'
Solved and working (more or less). I manuallz installed zha quirks using
pip install zha-quirks --upgrade
Now the sensor shows data. But that data isn’t reasonable (temp 2.3C, although in a room with around 20 C). And the custom quirk doesn’t show up in the detailed info of the device. But at least a big step forward. Thank you!