There was an error while loading. Please reload this page.
1 parent 090504f commit 54ffed8Copy full SHA for 54ffed8
1 file changed
custom_components/mammotion/entity.py
@@ -170,9 +170,7 @@ def _handle_coordinator_update(self) -> None:
170
super()._handle_coordinator_update()
171
172
173
-class MammotionCameraBaseEntity(
174
- CoordinatorEntity[MammotionBaseUpdateCoordinator], Camera, ABC
175
-):
+class MammotionCameraBaseEntity(Camera, ABC):
176
"""Devices that support cameras."""
177
178
_attr_has_entity_name = True
@@ -182,7 +180,8 @@ class MammotionCameraBaseEntity(
182
180
183
181
def __init__(self, coordinator: MammotionBaseUpdateCoordinator, key: str) -> None:
184
"""Initialize the Lawn Mower."""
185
- super().__init__(coordinator)
+ super().__init__()
+ self.coordinator = coordinator
186
self._attr_unique_id = f"{coordinator.device_name}_{key}"
187
188
@property
0 commit comments