mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
fix(tests): include current_interval_price_base in interval sensors and remove from known exceptions
This commit is contained in:
parent
4ceff6cf5f
commit
4b32568665
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue