fix(tests): include current_interval_price_base in interval sensors and remove from known exceptions

This commit is contained in:
Julian Pawlowski 2026-01-20 12:06:10 +00:00
parent 4ceff6cf5f
commit 4b32568665

View file

@ -78,6 +78,7 @@ def test_interval_sensors_use_quarter_hour_timer() -> None:
"""
interval_sensors = [
"current_interval_price",
"current_interval_price_base", # Energy Dashboard version (€/kWh)
"next_interval_price",
"previous_interval_price",
"current_interval_price_level",
@ -416,7 +417,6 @@ def test_timer_constants_are_comprehensive() -> None:
known_exceptions = {
"data_last_updated", # Timestamp of last update, not time-dependent
"next_24h_volatility", # Uses fixed 24h window from current time, updated on API data
"current_interval_price_base", # Duplicate of current_interval_price (just different unit)
"best_price_period_duration", # Duration state in hours (static per period), no minute-by-minute timer
"peak_price_period_duration", # Duration state in hours (static per period), no minute-by-minute timer
}