Clean up docstrings in Sensibo (#134591)

This commit is contained in:
G Johansson 2025-01-04 00:24:51 +01:00 committed by GitHub
parent e6da6d9612
commit 287b7eec13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View File

@ -26,14 +26,14 @@ PARALLEL_UPDATES = 0
@dataclass(frozen=True, kw_only=True)
class SensiboMotionBinarySensorEntityDescription(BinarySensorEntityDescription):
"""Describes Sensibo Motion sensor entity."""
"""Describes Sensibo Motion binary sensor entity."""
value_fn: Callable[[MotionSensor], bool | None]
@dataclass(frozen=True, kw_only=True)
class SensiboDeviceBinarySensorEntityDescription(BinarySensorEntityDescription):
"""Describes Sensibo Motion sensor entity."""
"""Describes Sensibo Motion binary sensor entity."""
value_fn: Callable[[SensiboDevice], bool | None]

View File

@ -37,7 +37,7 @@ async def async_setup_entry(
entry: SensiboConfigEntry,
async_add_entities: AddEntitiesCallback,
) -> None:
"""Set up Sensibo binary sensor platform."""
"""Set up Sensibo button platform."""
coordinator = entry.runtime_data
@ -48,7 +48,7 @@ async def async_setup_entry(
class SensiboDeviceButton(SensiboDeviceBaseEntity, ButtonEntity):
"""Representation of a Sensibo Device Binary Sensor."""
"""Representation of a Sensibo Device button."""
entity_description: SensiboButtonEntityDescription

View File

@ -1,4 +1,4 @@
"""Support for Sensibo wifi-enabled home thermostats."""
"""Support for Sensibo climate devices."""
from __future__ import annotations
@ -189,7 +189,7 @@ async def async_setup_entry(
class SensiboClimate(SensiboDeviceBaseEntity, ClimateEntity):
"""Representation of a Sensibo device."""
"""Representation of a Sensibo climate device."""
_attr_name = None
_attr_precision = PRECISION_TENTHS

View File

@ -56,7 +56,7 @@ async def async_setup_entry(
entry: SensiboConfigEntry,
async_add_entities: AddEntitiesCallback,
) -> None:
"""Set up Sensibo number platform."""
"""Set up Sensibo select platform."""
coordinator = entry.runtime_data