Skip to content

Add Recalculate Best Price button and option - #32

Merged
adnansarajlic merged 1 commit into
mainfrom
Fix-Sensors
Apr 3, 2026
Merged

adnansarajlic merged 1 commit into
mainfrom
Fix-Sensors

Conversation

@adnansarajlic

Copy link
Copy Markdown
Owner

Add a new TibberRecalculateBestPriceButton and an options checkbox to trigger immediate recalculation of Best Price windows. When the option is saved a temporary flag is set in hass.data and async_setup_entry passes a force_recalc flag to sensors; the binary sensor logic filters out already-passed price slots when a forced recalculation is requested. Also add tests for the button and options flow, update mocks, bump integration version to 1.2.7, and add changelog notes describing the feature and behavior.

Add a new TibberRecalculateBestPriceButton and an options checkbox to trigger immediate recalculation of Best Price windows. When the option is saved a temporary flag is set in hass.data and async_setup_entry passes a force_recalc flag to sensors; the binary sensor logic filters out already-passed price slots when a forced recalculation is requested. Also add tests for the button and options flow, update mocks, bump integration version to 1.2.7, and add changelog notes describing the feature and behavior.
@adnansarajlic
adnansarajlic merged commit 0e0344f into main Apr 3, 2026
3 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.

1 participant