File tree Expand file tree Collapse file tree 6 files changed +14
-1
lines changed
homeassistant/components/fressnapf_tracker Expand file tree Collapse file tree 6 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1717from . import FressnapfTrackerConfigEntry
1818from .entity import FressnapfTrackerEntity
1919
20+ # Coordinator is used to centralize the data updates
21+ PARALLEL_UPDATES = 0
22+
2023
2124@dataclass (frozen = True , kw_only = True )
2225class FressnapfTrackerBinarySensorDescription (BinarySensorEntityDescription ):
Original file line number Diff line number Diff line change 88from . import FressnapfTrackerConfigEntry , FressnapfTrackerDataUpdateCoordinator
99from .entity import FressnapfTrackerBaseEntity
1010
11+ # Coordinator is used to centralize the data updates
12+ PARALLEL_UPDATES = 0
13+
1114
1215async def async_setup_entry (
1316 hass : HomeAssistant ,
Original file line number Diff line number Diff line change 1717from .const import DOMAIN
1818from .entity import FressnapfTrackerEntity
1919
20+ PARALLEL_UPDATES = 1
21+
2022LIGHT_ENTITY_DESCRIPTION = LightEntityDescription (
2123 translation_key = "led" ,
2224 entity_category = EntityCategory .CONFIG ,
Original file line number Diff line number Diff line change 3333 entity-unavailable : done
3434 integration-owner : done
3535 log-when-unavailable : done
36- parallel-updates : todo
36+ parallel-updates : done
3737 reauthentication-flow : todo
3838 test-coverage : done
3939
Original file line number Diff line number Diff line change 1818from . import FressnapfTrackerConfigEntry
1919from .entity import FressnapfTrackerEntity
2020
21+ # Coordinator is used to centralize the data updates
22+ PARALLEL_UPDATES = 0
23+
2124
2225@dataclass (frozen = True , kw_only = True )
2326class FressnapfTrackerSensorDescription (SensorEntityDescription ):
Original file line number Diff line number Diff line change 1414from . import FressnapfTrackerConfigEntry
1515from .entity import FressnapfTrackerEntity
1616
17+ PARALLEL_UPDATES = 1
18+
1719SWITCH_ENTITY_DESCRIPTION = SwitchEntityDescription (
1820 translation_key = "energy_saving" ,
1921 entity_category = EntityCategory .CONFIG ,
You can’t perform that action at this time.
0 commit comments