Avoid hardcoded max core climate timeout in SleepIQ (#149283)

This commit is contained in:
David Ferguson 2025-07-23 06:37:47 -04:00 committed by GitHub
parent aeeabfcae7
commit 232b34609c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -164,7 +164,7 @@ NUMBER_DESCRIPTIONS: dict[str, SleepIQNumberEntityDescription] = {
CORE_CLIMATE_TIMER: SleepIQNumberEntityDescription(
key=CORE_CLIMATE_TIMER,
native_min_value=0,
native_max_value=600,
native_max_value=SleepIQCoreClimate.max_core_climate_time,
native_step=30,
name=ENTITY_TYPES[CORE_CLIMATE_TIMER],
icon="mdi:timer",