Skip to content

Commit 982fba1

Browse files
authored
Add PARALLEL_UPDATES to fritzbox platforms (#155437)
1 parent 8026e64 commit 982fba1

File tree

7 files changed

+21
-0
lines changed

7 files changed

+21
-0
lines changed

homeassistant/components/fritzbox/binary_sensor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
from .entity import FritzBoxDeviceEntity
2222
from .model import FritzEntityDescriptionMixinBase
2323

24+
# Coordinator handles data updates, so we can allow unlimited parallel updates
25+
PARALLEL_UPDATES = 0
26+
2427

2528
@dataclass(frozen=True, kw_only=True)
2629
class FritzBinarySensorEntityDescription(

homeassistant/components/fritzbox/button.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
from .coordinator import FritzboxConfigEntry
1212
from .entity import FritzBoxEntity
1313

14+
# Coordinator handles data updates, so we can allow unlimited parallel updates
15+
PARALLEL_UPDATES = 0
16+
1417

1518
async def async_setup_entry(
1619
hass: HomeAssistant,

homeassistant/components/fritzbox/climate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
from .entity import FritzBoxDeviceEntity
2424
from .sensor import value_scheduled_preset
2525

26+
# Coordinator handles data updates, so we can allow unlimited parallel updates
27+
PARALLEL_UPDATES = 0
28+
2629
HVAC_MODES = [HVACMode.HEAT, HVACMode.OFF]
2730
PRESET_HOLIDAY = "holiday"
2831
PRESET_SUMMER = "summer"

homeassistant/components/fritzbox/cover.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
from .coordinator import FritzboxConfigEntry
1717
from .entity import FritzBoxDeviceEntity
1818

19+
# Coordinator handles data updates, so we can allow unlimited parallel updates
20+
PARALLEL_UPDATES = 0
21+
1922

2023
async def async_setup_entry(
2124
hass: HomeAssistant,

homeassistant/components/fritzbox/light.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
from .coordinator import FritzboxConfigEntry, FritzboxDataUpdateCoordinator
1919
from .entity import FritzBoxDeviceEntity
2020

21+
# Coordinator handles data updates, so we can allow unlimited parallel updates
22+
PARALLEL_UPDATES = 0
23+
2124

2225
async def async_setup_entry(
2326
hass: HomeAssistant,

homeassistant/components/fritzbox/sensor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
from .entity import FritzBoxDeviceEntity
3535
from .model import FritzEntityDescriptionMixinBase
3636

37+
# Coordinator handles data updates, so we can allow unlimited parallel updates
38+
PARALLEL_UPDATES = 0
39+
3740

3841
@dataclass(frozen=True, kw_only=True)
3942
class FritzSensorEntityDescription(

homeassistant/components/fritzbox/switch.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
from .coordinator import FritzboxConfigEntry
1414
from .entity import FritzBoxDeviceEntity
1515

16+
# Coordinator handles data updates, so we can allow unlimited parallel updates
17+
PARALLEL_UPDATES = 0
18+
1619

1720
async def async_setup_entry(
1821
hass: HomeAssistant,

0 commit comments

Comments
 (0)