Skip to content

Commit

Permalink
Avoid hardcoded max core climate timeout
Browse files Browse the repository at this point in the history
  * Bump asyncsleepiq to 1.5.3
  * Use the exposed SleepIQCoreClimate.max_core_climate_time
  • Loading branch information
dferg committed Jan 20, 2025
1 parent e88a4e1 commit 7d734eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/sleepiq/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"documentation": "https://www.home-assistant.io/integrations/sleepiq",
"iot_class": "cloud_polling",
"loggers": ["asyncsleepiq"],
"requirements": ["asyncsleepiq==1.5.2"]
"requirements": ["asyncsleepiq==1.5.3"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/sleepiq/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def _get_core_climate_unique_id(
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",
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion requirements_test_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d734eb

Please sign in to comment.