Skip to content

Commit 12085e6

Browse files
authored
Improve Reolink docstrings (home-assistant#153498)
1 parent 6764463 commit 12085e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

homeassistant/components/reolink/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def __init__(
252252
chime: Chime,
253253
coordinator: DataUpdateCoordinator[None] | None = None,
254254
) -> None:
255-
"""Initialize ReolinkChimeCoordinatorEntity for a chime."""
255+
"""Initialize ReolinkHostChimeCoordinatorEntity for a chime."""
256256
super().__init__(reolink_data, coordinator)
257257
self._channel = chime.channel
258258
self._chime = chime

homeassistant/components/reolink/sensor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def native_value(self) -> StateType | date | datetime | Decimal:
284284

285285

286286
class ReolinkHddSensorEntity(ReolinkHostCoordinatorEntity, SensorEntity):
287-
"""Base sensor class for Reolink host sensors."""
287+
"""Base sensor class for Reolink storage device sensors."""
288288

289289
entity_description: ReolinkSensorEntityDescription
290290

@@ -294,7 +294,7 @@ def __init__(
294294
hdd_index: int,
295295
entity_description: ReolinkSensorEntityDescription,
296296
) -> None:
297-
"""Initialize Reolink host sensor."""
297+
"""Initialize Reolink storage device sensor."""
298298
self.entity_description = entity_description
299299
super().__init__(reolink_data)
300300
self._hdd_index = hdd_index

0 commit comments

Comments
 (0)