From 972b9c0a28c766b6606a4581331cd748d99dc5ed Mon Sep 17 00:00:00 2001 From: Simon Elsbrock Date: Thu, 11 Jan 2024 23:49:55 +0100 Subject: [PATCH] fix: lint --- custom_components/cowboy/binary_sensor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom_components/cowboy/binary_sensor.py b/custom_components/cowboy/binary_sensor.py index 3405ffe..2af7b77 100644 --- a/custom_components/cowboy/binary_sensor.py +++ b/custom_components/cowboy/binary_sensor.py @@ -86,9 +86,11 @@ class CowboyUpdateBinarySensor(CowboyBinarySensor): @callback def _handle_coordinator_update(self) -> None: """Handle updated data from the coordinator. + This sensor is on if there is a firmware update available and the bike firmware is not the latest release. The firmware update - must not have status: testing.""" + must not have status: testing. + """ data = self.coordinator.data or {} firmware = data.get("firmware", {}) firmware_name = firmware.get("name", "")