Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add bias and drive mode options to switches - now tested and updated #6

Closed
wants to merge 2 commits into from

Conversation

askz
Copy link
Contributor

@askz askz commented Jun 17, 2024

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 !

@jdeneef
Copy link
Owner

jdeneef commented Jun 17, 2024

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.

@askz
Copy link
Contributor Author

askz commented Jun 18, 2024

Hello, yes there's no AS_IS for example, so removed it

Can you maybe edit your invert logic stuff and merge ?

@jdeneef
Copy link
Owner

jdeneef commented Jun 24, 2024

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

@askz askz closed this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants