From 8358c9c1440d3c584f19f679bb773f8a8bf71d2f Mon Sep 17 00:00:00 2001 From: LG-ThinQ-Integration Date: Tue, 22 Sep 2026 01:50:17 +0900 Subject: [PATCH] Adjust lg_thinq energy polling schedule to mitigate server load (#182810) Co-authored-by: YunseonPark-LGE --- homeassistant/components/lg_thinq/sensor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/lg_thinq/sensor.py b/homeassistant/components/lg_thinq/sensor.py index 54cdfb5903e4..d6fee8a44df9 100644 --- a/homeassistant/components/lg_thinq/sensor.py +++ b/homeassistant/components/lg_thinq/sensor.py @@ -829,9 +829,9 @@ class ThinQEnergySensorEntity(ThinQEntity, SensorEntity): """Handle added to Hass.""" await super().async_added_to_hass() if self.coordinator.update_energy_at_time_of_day is None: - # random time 01:00:00 ~ 02:59:00 + # Random time between 01:00:00 and 05:59:00 self.coordinator.update_energy_at_time_of_day = time( - hour=random.randint(1, 2), minute=random.randint(0, 59) + hour=random.randint(1, 5), minute=random.randint(0, 59) ) _LOGGER.debug( "[%s] Set energy update time: %s",