Skip to content

Commit 54ffed8

Browse files
committed
revert change to camera
1 parent 090504f commit 54ffed8

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

custom_components/mammotion/entity.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,7 @@ def _handle_coordinator_update(self) -> None:
170170
super()._handle_coordinator_update()
171171

172172

173-
class MammotionCameraBaseEntity(
174-
CoordinatorEntity[MammotionBaseUpdateCoordinator], Camera, ABC
175-
):
173+
class MammotionCameraBaseEntity(Camera, ABC):
176174
"""Devices that support cameras."""
177175

178176
_attr_has_entity_name = True
@@ -182,7 +180,8 @@ class MammotionCameraBaseEntity(
182180

183181
def __init__(self, coordinator: MammotionBaseUpdateCoordinator, key: str) -> None:
184182
"""Initialize the Lawn Mower."""
185-
super().__init__(coordinator)
183+
super().__init__()
184+
self.coordinator = coordinator
186185
self._attr_unique_id = f"{coordinator.device_name}_{key}"
187186

188187
@property

0 commit comments

Comments
 (0)