Skip to content

Commit

Permalink
Correct unit of rain pause (home-assistant#98131)
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus committed Aug 10, 2023
1 parent b872d74 commit 9b74321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions homeassistant/components/gardena_bluetooth/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
),
Expand Down

0 comments on commit 9b74321

Please sign in to comment.