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

Always return float for numeric values #5

Closed
olivergregorius opened this issue Jun 26, 2022 · 0 comments · Fixed by #6
Closed

Always return float for numeric values #5

olivergregorius opened this issue Jun 26, 2022 · 0 comments · Fixed by #6
Assignees
Labels
bug Something isn't working

Comments

@olivergregorius
Copy link
Owner

Contrary to registers.InverterEquipmentRegister.ActivePower which returns a float registers.MeterEquipmentRegister.ActivePowerreturns an int. Every numeric register value should be returned as a float value to avoid issues e.g. persisting these values as field "active_power" in an InfluxDB instance.

@olivergregorius olivergregorius added the bug Something isn't working label Jun 26, 2022
@olivergregorius olivergregorius self-assigned this Jun 26, 2022
olivergregorius added a commit that referenced this issue Jun 27, 2022
- Fixed documentation for changes from #5
- Added requirement to use Python 3.10 or above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant