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 oder of magnitude reported for current in HA plugin #86

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

DennisOSRM
Copy link
Owner

  • run cargo clippy and fix all issues
  • run cargo fmt to format all source files

fixes #85

@dominikandreas
Copy link
Collaborator

I think the simple MQTT publish service has the same issue: https://github.com/DennisOSRM/hms-mqtt-publisher/blob/main/hms2mqtt/src/simple_mqtt.rs#L43
Maybe we should fix it in the same PR as well.

@DennisOSRM
Copy link
Owner Author

This seems to be the correct order of magnitude. Or am I seeing this wrong?

@dominikandreas
Copy link
Collaborator

Oh, yes my mistake. Documentation in https://github.com/DennisOSRM/hms-mqtt-publisher/blob/main/hms2mqtt/src/protos/RealData.proto#L29 is wrong then

@dominikandreas
Copy link
Collaborator

Once the new release is there I will update the home assistant addon. Thanks for the fix

@DennisOSRM
Copy link
Owner Author

Oh, good catch! Will amend the PR later today and put out a release in the evening.

@DennisOSRM DennisOSRM merged commit b3759da into main Jan 22, 2024
5 checks passed
@DennisOSRM DennisOSRM deleted the ha_current_magnitude branch January 22, 2024 05:40
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.

PV x current factor 10 too high
2 participants