Closed Ja-Ju closed 1 year ago
Not possible, because I use it myself for my TRV's. Be sure you're downloading RAW file and not a html version Right click link below and download as a file: https://github.com/jacekk015/zha_quirks/raw/main/ts0601_trv_maxsmart.py
Interesting.. I tried it just with "wget https://github.com/jacekk015/zha_quirks/blob/a5489f5418befbbb0c74a084d02feedafdf18003/ts0601_trv_maxsmart.py" This didn't work. Now I copied the content in nano and saved it locally - afterwards the import worked. Thanks for the quick answer!
Hello jacekk015, I am using your custom quirk to integrate thermostats from lidl. After one of them worked reliable, I wanted to update to the new version of the quirk. Unfortunately the import fails with the followig error:
Logger: zhaquirks Source: custom_quirks/ts0601_trv_maxsmart.py:1 First occurred: 09:39:55 (1 occurrences) Last logged: 09:39:55
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 454, in setup importer.find_module(modname).load_module(modname) File "", line 605, in _check_name_wrapper
File "", line 1120, in load_module
File "", line 945, in load_module
File "", line 290, in _load_module_shim
File "", line 721, in _load
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_quirks/ts0601_trv_maxsmart.py", line 1, in
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"trv_saswell.py","path":"trv_sasw
...
},"title":"zha_quirks/ts0601_trv_maxsmart.py at 30228a0a130ca84b209c5b45d885dd135de4177e · jacekk015/zha_quirks"} ^^^^^ NameError: name 'false' is not defined