Add parallel updates to UptimeRobot (#142849)

This commit is contained in:
Simone Chemelli 2025-04-14 09:50:29 +02:00 committed by GitHub
parent 8bcc4f4c82
commit 1e31e2944b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,9 @@ from .const import DOMAIN
from .coordinator import UptimeRobotConfigEntry, UptimeRobotDataUpdateCoordinator
from .entity import UptimeRobotEntity
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

@ -23,6 +23,9 @@ SENSORS_INFO = {
9: "down",
}
# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
async def async_setup_entry(
hass: HomeAssistant,

View File

@ -18,6 +18,9 @@ from .const import API_ATTR_OK, DOMAIN, LOGGER
from .coordinator import UptimeRobotConfigEntry, UptimeRobotDataUpdateCoordinator
from .entity import UptimeRobotEntity
# Limit the number of parallel updates to 1
PARALLEL_UPDATES = 1
async def async_setup_entry(
hass: HomeAssistant,