mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Correction of prices update time in Tibber integration (with CLA now) (#131861)
correction of prices update time
This commit is contained in:
parent
0b36a6d7f3
commit
8feb6c7e06
@ -397,7 +397,7 @@ class TibberSensorElPrice(TibberSensor):
|
||||
if (
|
||||
not self._tibber_home.last_data_timestamp
|
||||
or (self._tibber_home.last_data_timestamp - now).total_seconds()
|
||||
< 11 * 3600 + self._spread_load_constant
|
||||
< 10 * 3600 - self._spread_load_constant
|
||||
or not self.available
|
||||
):
|
||||
_LOGGER.debug("Asking for new data")
|
||||
|
Loading…
x
Reference in New Issue
Block a user