Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions homeassistant/components/wled/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
from .entity import WLEDEntity
from .helpers import wled_exception_handler

PARALLEL_UPDATES = 1


async def async_setup_entry(
hass: HomeAssistant,
Expand Down
3 changes: 3 additions & 0 deletions homeassistant/components/wled/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
from .coordinator import WLEDDataUpdateCoordinator
from .entity import WLEDEntity

# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0


@dataclass(frozen=True, kw_only=True)
class WLEDSensorEntityDescription(SensorEntityDescription):
Expand Down
3 changes: 3 additions & 0 deletions homeassistant/components/wled/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
from .entity import WLEDEntity
from .helpers import wled_exception_handler

# Coordinator is used to centralize the data updates
PARALLEL_UPDATES = 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same applies to async_update here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. Thank you very much for pointing this out.



async def async_setup_entry(
hass: HomeAssistant,
Expand Down
Loading