From 07c9e3ea86cddee596b1abb25602af5358c36c4b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 15:21:06 +0000 Subject: [PATCH] Fix docstring indentation to follow Google-style format Co-authored-by: cyberjunky <5447161+cyberjunky@users.noreply.github.com> --- .../garmin_connect/sensor_descriptions.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/custom_components/garmin_connect/sensor_descriptions.py b/custom_components/garmin_connect/sensor_descriptions.py index 54cf461..cbeb567 100644 --- a/custom_components/garmin_connect/sensor_descriptions.py +++ b/custom_components/garmin_connect/sensor_descriptions.py @@ -1003,14 +1003,14 @@ SENSOR_GROUP_MAPPING: dict[str, tuple[GarminConnectSensorEntityDescription, ...] def get_sensors_for_groups( enabled_groups: set[str] | None = None, ) -> tuple[GarminConnectSensorEntityDescription, ...]: - """ - Get sensor descriptions based on enabled sensor groups. - + """Get sensor descriptions based on enabled sensor groups. + Args: enabled_groups: Set of enabled group IDs. If None, returns all sensors. - + Returns: Tuple of sensor descriptions for the enabled groups. + """ if enabled_groups is None: return ALL_SENSOR_DESCRIPTIONS @@ -1024,11 +1024,11 @@ def get_sensors_for_groups( def get_default_enabled_groups() -> set[str]: - """ - Get the set of sensor groups that should be enabled by default. + """Get the set of sensor groups that should be enabled by default. Returns: Set of group IDs that are enabled by default. + """ return { group_id