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

Added float type cast to fix OpenAPI returned string type. #134

Merged

Conversation

AndersHoglund
Copy link
Contributor

Quick-Fix for issue #132. Inconsistent data types from Kiosk and OpenAPI, float vs string, while the common code assumed float only. A float type cast will (probably) fix this. Needs to be verified on a OpenAPI installation, only tested by me on Kiosk.

A re-factoring to a more consistent use of data types is recommended as a long term proper correction. And in that case perhaps also take care of the midnight glitches in "yearEnergy" and "monthEnergy" data sets.

@tijsverkoyen tijsverkoyen mentioned this pull request Jan 15, 2024
@tijsverkoyen tijsverkoyen merged commit aa453d5 into tijsverkoyen:master Jan 15, 2024
2 checks passed
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