1
0
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:
starkillerOG
2025-10-02 23:10:27 +02:00
committed by GitHub
parent 6764463689
commit 12085e6152
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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