Closed askz closed 3 months ago
Hi, this and more is fixed and updated in the latest version tag 1.1.0. Is there anything else you added? I can't test since I don't have such a relay, but both bias and drive are options in switch in current main branch. I guess we worked in parallel.
Hello, yes there's no AS_IS for example, so removed it
Can you maybe edit your invert logic stuff and merge ?
sry, it's all in the latest version anyway, so no use merging this anymore. fwiw from my gpiod in homeassistant:
>>> import gpiod
>>> print(gpiod.line.Bias._member_names_)
['AS_IS', 'UNKNOWN', 'DISABLED', 'PULL_UP', 'PULL_DOWN']
>>> help(gpiod.line.Bias) # for more info
Hello, Ive tested this weekend, my fork run on my home setup, flawlessly :)
I also added documentation + renamed some variables to stick to gpiod naming conventions
please merge asap, cuz your main branch might be broken !