1
mirror of https://github.com/home-assistant/core synced 2024-10-01 05:30:36 +02:00

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

View File

@ -62,11 +62,11 @@ DESCRIPTIONS = (
GardenaBluetoothNumberEntityDescription( GardenaBluetoothNumberEntityDescription(
key=DeviceConfiguration.rain_pause.uuid, key=DeviceConfiguration.rain_pause.uuid,
translation_key="rain_pause", translation_key="rain_pause",
native_unit_of_measurement=UnitOfTime.DAYS, native_unit_of_measurement=UnitOfTime.MINUTES,
mode=NumberMode.BOX, mode=NumberMode.BOX,
native_min_value=0.0, native_min_value=0.0,
native_max_value=127.0, native_max_value=7 * 24 * 60,
native_step=1.0, native_step=6 * 60.0,
entity_category=EntityCategory.CONFIG, entity_category=EntityCategory.CONFIG,
char=DeviceConfiguration.rain_pause, char=DeviceConfiguration.rain_pause,
), ),