mirror of
https://github.com/home-assistant/core.git
synced 2026-05-08 17:49:37 +01:00
Decrease Essent update interval to 1 hour (#160959)
This commit is contained in:
@@ -7,7 +7,7 @@ from enum import StrEnum
|
||||
from typing import Final
|
||||
|
||||
DOMAIN: Final = "essent"
|
||||
UPDATE_INTERVAL: Final = timedelta(hours=12)
|
||||
UPDATE_INTERVAL: Final = timedelta(hours=1)
|
||||
ATTRIBUTION: Final = "Data provided by Essent"
|
||||
|
||||
|
||||
|
||||
@@ -74,5 +74,5 @@ async def test_sensor_updates_on_hour_tick(
|
||||
|
||||
assert (
|
||||
hass.states.get("sensor.essent_current_electricity_market_price").state
|
||||
== "0.10417"
|
||||
== "0.24535"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user