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 wrong sensor value when pull_mode=UP #322

Merged
merged 1 commit into from
Dec 2, 2024
Merged

Fix wrong sensor value when pull_mode=UP #322

merged 1 commit into from
Dec 2, 2024

Conversation

tomer-w
Copy link
Collaborator

@tomer-w tomer-w commented Dec 2, 2024

Instead of us trying to get the line state based on active_low and bias configuration just send the right settings to the gpiod library.

Also remove the output_value setup from the sensor code as it is relevant only for switch.

@tomer-w tomer-w merged commit 3e4867c into main Dec 2, 2024
5 checks passed
@tomer-w tomer-w deleted the hub-refactor branch December 2, 2024 13:01
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.

2 participants