Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up docstrings in Sensibo #134591

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Clean up docstrings in Sensibo
  • Loading branch information
gjohansson-ST committed Jan 3, 2025
commit c5d0c783ed8965ebec8ff73e48545c934d025484
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