[go: up one dir, main page]

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

Expose voltage for WISZB-120 #7575

Merged
merged 1 commit into from
May 30, 2024
Merged

Expose voltage for WISZB-120 #7575

merged 1 commit into from
May 30, 2024

Conversation

kranzj
Copy link
Contributor
@kranzj kranzj commented May 30, 2024

Context: 'voltage' is in state, but not exposed. I'm using ni-mh rechargeable batteries, so the percentage is not as useful.

Context: 'voltage' is in state, but not exposed.
@Koenkk Koenkk merged commit b2f2f11 into Koenkk:master May 30, 2024
2 checks passed
@Koenkk
Copy link
Owner
Koenkk commented May 30, 2024

thanks!

@kranzj kranzj deleted the patch-1 branch May 30, 2024 13:54
@kranzj
Copy link
Contributor Author
kranzj commented Jun 1, 2024

Hello again! Just tried the new version; the change kind of works, but it has the wrong unit for the battery voltage and shows 2700V instead of 2700mV. I'm not sure how I configure the unit, could you give me a hint?

@Koenkk
Copy link
Owner
Koenkk commented Jun 2, 2024

Use e.battery_voltage() instead of e.voltage(), could you submit a PR for this?

@kranzj
Copy link
Contributor Author
kranzj commented Jun 2, 2024

Thanks a lot :). I created #7597.

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