mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Tibber, change time for fetching prices (#41840)
This commit is contained in:
parent
994ae09f69
commit
4146a90313
@ -113,7 +113,7 @@ class TibberSensorElPrice(TibberSensor):
|
|||||||
if (
|
if (
|
||||||
not self._tibber_home.last_data_timestamp
|
not self._tibber_home.last_data_timestamp
|
||||||
or (self._tibber_home.last_data_timestamp - now).total_seconds()
|
or (self._tibber_home.last_data_timestamp - now).total_seconds()
|
||||||
< 12 * 3600 + self._spread_load_constant
|
< 5 * 3600 + self._spread_load_constant
|
||||||
or not self._is_available
|
or not self._is_available
|
||||||
):
|
):
|
||||||
_LOGGER.debug("Asking for new data")
|
_LOGGER.debug("Asking for new data")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user