From 7464e3944e85918786ff139d781f6913ab0c1a1f Mon Sep 17 00:00:00 2001 From: Tsvi Mostovicz Date: Mon, 19 May 2025 22:44:28 +0300 Subject: [PATCH] Jewish calendar: set parallel updates to 0 (#144986) * Set all Jewish calendar parallel updates to 0 * Update homeassistant/components/jewish_calendar/service.py --------- Co-authored-by: Joost Lekkerkerker --- homeassistant/components/jewish_calendar/binary_sensor.py | 2 ++ homeassistant/components/jewish_calendar/sensor.py | 1 + 2 files changed, 3 insertions(+) diff --git a/homeassistant/components/jewish_calendar/binary_sensor.py b/homeassistant/components/jewish_calendar/binary_sensor.py index 8d06526c322..2e7edbefd3b 100644 --- a/homeassistant/components/jewish_calendar/binary_sensor.py +++ b/homeassistant/components/jewish_calendar/binary_sensor.py @@ -20,6 +20,8 @@ from homeassistant.util import dt as dt_util from .entity import JewishCalendarConfigEntry, JewishCalendarEntity +PARALLEL_UPDATES = 0 + @dataclass(frozen=True) class JewishCalendarBinarySensorMixIns(BinarySensorEntityDescription): diff --git a/homeassistant/components/jewish_calendar/sensor.py b/homeassistant/components/jewish_calendar/sensor.py index 063818aedf3..973d354d368 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -24,6 +24,7 @@ from homeassistant.util import dt as dt_util from .entity import JewishCalendarConfigEntry, JewishCalendarEntity _LOGGER = logging.getLogger(__name__) +PARALLEL_UPDATES = 0 INFO_SENSORS: tuple[SensorEntityDescription, ...] = ( SensorEntityDescription(