From 287b7eec13f5eb67b4e12e339e9be3d81b529cea Mon Sep 17 00:00:00 2001 From: G Johansson Date: Sat, 4 Jan 2025 00:24:51 +0100 Subject: [PATCH] Clean up docstrings in Sensibo (#134591) --- homeassistant/components/sensibo/binary_sensor.py | 4 ++-- homeassistant/components/sensibo/button.py | 4 ++-- homeassistant/components/sensibo/climate.py | 4 ++-- homeassistant/components/sensibo/select.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/homeassistant/components/sensibo/binary_sensor.py b/homeassistant/components/sensibo/binary_sensor.py index 6d1acd99166c88..8d47fb115266db 100644 --- a/homeassistant/components/sensibo/binary_sensor.py +++ b/homeassistant/components/sensibo/binary_sensor.py @@ -26,14 +26,14 @@ @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] diff --git a/homeassistant/components/sensibo/button.py b/homeassistant/components/sensibo/button.py index 9ac504537fa04a..7adafe2e7fc2c6 100644 --- a/homeassistant/components/sensibo/button.py +++ b/homeassistant/components/sensibo/button.py @@ -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 diff --git a/homeassistant/components/sensibo/climate.py b/homeassistant/components/sensibo/climate.py index 315d452b92b6cf..acf58a3bfbf6c0 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -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 diff --git a/homeassistant/components/sensibo/select.py b/homeassistant/components/sensibo/select.py index cd0499aabc0f2b..4cc1426743c39c 100644 --- a/homeassistant/components/sensibo/select.py +++ b/homeassistant/components/sensibo/select.py @@ -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