Correct unit of rain pause (#98131)

This commit is contained in:
Joakim Plate 2023-08-10 12:37:28 +02:00 committed by GitHub
parent b872d74b1f
commit 9b74321487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -62,11 +62,11 @@ DESCRIPTIONS = (
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,
),