From 9b743214874e5aa4a48c5a2095f1597165fe53a4 Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Thu, 10 Aug 2023 12:37:28 +0200 Subject: [PATCH] Correct unit of rain pause (#98131) --- homeassistant/components/gardena_bluetooth/number.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/gardena_bluetooth/number.py b/homeassistant/components/gardena_bluetooth/number.py index c425d17621d84..ec887458586fe 100644 --- a/homeassistant/components/gardena_bluetooth/number.py +++ b/homeassistant/components/gardena_bluetooth/number.py @@ -62,11 +62,11 @@ class GardenaBluetoothNumberEntityDescription(NumberEntityDescription): GardenaBluetoothNumberEntityDescription( key=DeviceConfiguration.rain_pause.uuid, translation_key="rain_pause", - native_unit_of_measurement=UnitOfTime.DAYS, + native_unit_of_measurement=UnitOfTime.MINUTES, mode=NumberMode.BOX, native_min_value=0.0, - native_max_value=127.0, - native_step=1.0, + native_max_value=7 * 24 * 60, + native_step=6 * 60.0, entity_category=EntityCategory.CONFIG, char=DeviceConfiguration.rain_pause, ),