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

Update rtl_433_mqtt_hass.py to add battery_mV #2725

Merged
merged 1 commit into from
Nov 26, 2023
Merged

Update rtl_433_mqtt_hass.py to add battery_mV #2725

merged 1 commit into from
Nov 26, 2023

Conversation

fallenpegasus
Copy link
Contributor

In addition to battery_ok, many devices also surface the measured battery voltage.

This is a decomposed part of #2581

In addition to battery_ok, many devices also surface the measured battery voltage.
@gdt
Copy link
Collaborator

gdt commented Nov 26, 2023

I more or less think it's a bug that we have battery_mV, instead of battery_V, SI base units and all that, but given that we do we might as well send a discovery message.

@fallenpegasus
Copy link
Contributor Author

I agree that it should be "battery_V" but that was a bigger patch than I wanted to write, especially since it would touch nearly every file in src/devices/*

@gdt gdt merged commit 1dc9f69 into merbanan:master Nov 26, 2023
5 checks passed
zuckschwerdt pushed a commit that referenced this pull request Nov 28, 2023
In addition to battery_ok, many devices also surface the measured battery voltage.
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