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

[aWATTar] move calculation logic into best price classes #17729

Merged
merged 2 commits into from
Nov 30, 2024

Conversation

tl-photography
Copy link
Contributor

This PR moves the calculation logic into the corresponding classes and adds tests.

@tl-photography tl-photography force-pushed the feature/move-calc-logic branch 4 times, most recently from 0941f94 to 036e83e Compare November 15, 2024 20:38
Signed-off-by: Thomas Leber <thomas@tl-photography.at>
…izing zoneId directly and removing unnecessary setup method

Signed-off-by: Thomas Leber <thomas@tl-photography.at>
Copy link

@Wolfgang1966 Wolfgang1966 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Wolfgang1966
Copy link

Sorry for the late review and thanks for your patience!

Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@lolodomo lolodomo merged commit 9b803b0 into openhab:main Nov 30, 2024
5 checks passed
@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Nov 30, 2024
@lolodomo lolodomo added this to the 4.3 milestone Nov 30, 2024
@tl-photography tl-photography deleted the feature/move-calc-logic branch December 3, 2024 18:46
matchews pushed a commit to matchews/openhab-addons that referenced this pull request Dec 16, 2024
* [aWATTar] move calculation logic into best price classes
* [aWATTar] Refactor AwattarBestPriceTest and AwattarApiTest by initializing zoneId directly and removing unnecessary setup 

Signed-off-by: Thomas Leber <thomas@tl-photography.at>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants