From 4b32568665c8cfca947d430e8ae833db368476a2 Mon Sep 17 00:00:00 2001 From: Julian Pawlowski <75446+jpawlowski@users.noreply.github.com> Date: Tue, 20 Jan 2026 12:06:10 +0000 Subject: [PATCH] fix(tests): include current_interval_price_base in interval sensors and remove from known exceptions --- tests/test_sensor_timer_assignment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_sensor_timer_assignment.py b/tests/test_sensor_timer_assignment.py index fb29ddf..8215c9b 100644 --- a/tests/test_sensor_timer_assignment.py +++ b/tests/test_sensor_timer_assignment.py @@ -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 }