mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Clean up docstrings in Sensibo (#134591)
This commit is contained in:
parent
e6da6d9612
commit
287b7eec13
@ -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]
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user