File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
homeassistant/components/wled Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1212from .entity import WLEDEntity
1313from .helpers import wled_exception_handler
1414
15+ PARALLEL_UPDATES = 1
16+
1517
1618async def async_setup_entry (
1719 hass : HomeAssistant ,
Original file line number Diff line number Diff line change 3030from .coordinator import WLEDDataUpdateCoordinator
3131from .entity import WLEDEntity
3232
33+ # Coordinator is used to centralize the data updates
34+ PARALLEL_UPDATES = 0
35+
3336
3437@dataclass (frozen = True , kw_only = True )
3538class WLEDSensorEntityDescription (SensorEntityDescription ):
Original file line number Diff line number Diff line change 1717from .entity import WLEDEntity
1818from .helpers import wled_exception_handler
1919
20+ PARALLEL_UPDATES = 1
21+
2022
2123async def async_setup_entry (
2224 hass : HomeAssistant ,
You can’t perform that action at this time.
0 commit comments