Hi all,
I am trying to setup a custom quirk for tuya siren since after paring there are no entities. I found out that there is a solution with a cuatom quirk for this,
I tried loading it in a directory with the path updated in Cnficuration YAML as instructed. But after reset of HA, ZHA failed to load. This happens no matter what Quirck file I put in.
This is the log I get. Any ideas?
Logger: homeassistant.config_entries
Source: components/zha/init.py:100
First occurred: 11:24:43 (1 occurrences)
Last logged: 11:24:43
Error setting up entry Sonoff Zigbee 3.0 USB Dongle Plus - Sonoff Zigbee 3.0 USB Dongle Plus, s/n: 0001 - Silicon Labs for zha
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 100, in async_setup_entry setup_quirks(config) File "/usr/local/lib/python3.10/site-packages/zhaquirks/__init__.py", line 409, in setup importer.find_module(modname).load_module(modname) File "<frozen importlib._bootstrap_external>", line 548, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 1063, in load_module File "<frozen importlib._bootstrap_external>", line 888, in load_module File "<frozen importlib._bootstrap>", line 290, in _load_module_shim File "<frozen importlib._bootstrap>", line 719, in _load File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 879, in exec_module File "<frozen importlib._bootstrap_external>", line 1017, in get_code File "<frozen importlib._bootstrap_external>", line 947, in source_to_code File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/config/custom_zha_quirks/motion_ac01.py", line 72 <title>zha-device-handlers/motion_ac01.py at dev · zigpy/zha-device-handlers · GitHub</title> ^ SyntaxError: invalid character '·' (U+00B7)