Skip to content

Commit

Permalink
Clean up docstrings in Sensibo (#134591)
Browse files Browse the repository at this point in the history
  • Loading branch information
gjohansson-ST authored Jan 3, 2025
1 parent e6da6d9 commit 287b7ee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/sensibo/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/sensibo/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/sensibo/climate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Support for Sensibo wifi-enabled home thermostats."""
"""Support for Sensibo climate devices."""

from __future__ import annotations

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/sensibo/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 287b7ee

Please sign in to comment.