Skip to content

Conversation

@RustyDust
Copy link
Contributor

[Major]

  • split out Sonnenbatterie API v2 into own class to
    • make is more easily testable
    • make it usable on its own
  • moved APIv2 specific functions to new class
  • added sb2 object to V1 class so that all V2 functionality can be accessed from V1 as well
  • split out timeofuse module into own class to make it usable from both API clients
  • demoted some class methods from timeofuse to functions since they were effectively creating a new class object
  • fixed some ToU problems where the input was expected to be JSON but was delivered as an object instead

[Minor]

  • corrected all problems related to PEP coding standards
  • renamed some variables and functions to make the linter happy
  • added more content to README.md
  • added setup.cfg and Makefile to ease builds on non-Windows systems
  • made sure all tests work again

... and lots more ;)

[Major]
- split out Sonnenbatterie API v2 into own class to
  - make is more easily testable
  - make it usable on its own
- moved APIv2 specific functions to new class
- added sb2 object to V1 class so that all V2 functionality
  can be accessed from V1 as well
- split out timeofuse module into own class to make it
  usable from both API clients
- demoted some class methods from timeofuse to functions
  since they were effectively creating a new class object
- fixed some ToU problems where the input was expected to
  be JSON but was delivered as an object instead

[Minor]
- corrected all problems related to PEP coding standards
- renamed some variables and functions to make the linter happy
- added more content to README.md
- added `setup.cfg` and `Makefile` to ease builds on non-Windows
  systems
- made sure all tests work again

... and lots more ;)

Signed-off-by: stefan <stefan@whocares.de>
@weltmeyer weltmeyer merged commit b8a3bc2 into weltmeyer:master Dec 17, 2024
1 check passed
@RustyDust RustyDust deleted the split_out_v2 branch December 29, 2024 01:20
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