From 528422d2389bcd44f1f8efbe3150ced88b89ac9c Mon Sep 17 00:00:00 2001 From: Pete Sage <76050312+PeteRager@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:37:26 -0400 Subject: [PATCH] Address Hydrawise review (#119965) adjust formatting --- homeassistant/components/hydrawise/binary_sensor.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/hydrawise/binary_sensor.py b/homeassistant/components/hydrawise/binary_sensor.py index e8426e5423a..52b4c28d718 100644 --- a/homeassistant/components/hydrawise/binary_sensor.py +++ b/homeassistant/components/hydrawise/binary_sensor.py @@ -31,8 +31,10 @@ CONTROLLER_BINARY_SENSORS: tuple[HydrawiseBinarySensorEntityDescription, ...] = HydrawiseBinarySensorEntityDescription( key="status", device_class=BinarySensorDeviceClass.CONNECTIVITY, - value_fn=lambda status_sensor: status_sensor.coordinator.last_update_success - and status_sensor.controller.online, + value_fn=( + lambda status_sensor: status_sensor.coordinator.last_update_success + and status_sensor.controller.online + ), # Connectivtiy sensor is always available always_available=True, ),