mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Improve Reolink docstrings (#153498)
This commit is contained in:
@@ -252,7 +252,7 @@ class ReolinkHostChimeCoordinatorEntity(ReolinkHostCoordinatorEntity):
|
||||
chime: Chime,
|
||||
coordinator: DataUpdateCoordinator[None] | None = None,
|
||||
) -> None:
|
||||
"""Initialize ReolinkChimeCoordinatorEntity for a chime."""
|
||||
"""Initialize ReolinkHostChimeCoordinatorEntity for a chime."""
|
||||
super().__init__(reolink_data, coordinator)
|
||||
self._channel = chime.channel
|
||||
self._chime = chime
|
||||
|
||||
@@ -284,7 +284,7 @@ class ReolinkHostSensorEntity(ReolinkHostCoordinatorEntity, SensorEntity):
|
||||
|
||||
|
||||
class ReolinkHddSensorEntity(ReolinkHostCoordinatorEntity, SensorEntity):
|
||||
"""Base sensor class for Reolink host sensors."""
|
||||
"""Base sensor class for Reolink storage device sensors."""
|
||||
|
||||
entity_description: ReolinkSensorEntityDescription
|
||||
|
||||
@@ -294,7 +294,7 @@ class ReolinkHddSensorEntity(ReolinkHostCoordinatorEntity, SensorEntity):
|
||||
hdd_index: int,
|
||||
entity_description: ReolinkSensorEntityDescription,
|
||||
) -> None:
|
||||
"""Initialize Reolink host sensor."""
|
||||
"""Initialize Reolink storage device sensor."""
|
||||
self.entity_description = entity_description
|
||||
super().__init__(reolink_data)
|
||||
self._hdd_index = hdd_index
|
||||
|
||||
Reference in New Issue
Block a user