Skip to content

Preserve active price window and bump to 1.2.3 - #28

Merged
adnansarajlic merged 1 commit into
mainfrom
Fix-Sensors
Mar 31, 2026
Merged

adnansarajlic merged 1 commit into
mainfrom
Fix-Sensors

Conversation

@adnansarajlic

Copy link
Copy Markdown
Owner

Fix a stability bug causing "Best Price" sensors to recompute when their window started by checking period_end (active if period_end > now) instead of period_start. Update debug message to clarify the window is still active, add a unit test (test_active_window_preserved) to verify behavior, bump manifest and User-Agent to 1.2.3, and add a changelog entry describing the fix.

Fix a stability bug causing "Best Price" sensors to recompute when their window started by checking period_end (active if period_end > now) instead of period_start. Update debug message to clarify the window is still active, add a unit test (test_active_window_preserved) to verify behavior, bump manifest and User-Agent to 1.2.3, and add a changelog entry describing the fix.
@adnansarajlic
adnansarajlic merged commit a50b5fb into main Mar 31, 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