mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 06:17:07 +00:00
Bugfix temp step list out of range sensibo (#65782)
This commit is contained in:
parent
5613a80d28
commit
07edbc42a4
@ -68,7 +68,7 @@ class SensiboDataUpdateCoordinator(DataUpdateCoordinator):
|
|||||||
temperatures_list = (
|
temperatures_list = (
|
||||||
current_capabilities["temperatures"]
|
current_capabilities["temperatures"]
|
||||||
.get(temperature_unit_key, {})
|
.get(temperature_unit_key, {})
|
||||||
.get("values", [0])
|
.get("values", [0, 1])
|
||||||
)
|
)
|
||||||
if temperatures_list:
|
if temperatures_list:
|
||||||
temperature_step = temperatures_list[1] - temperatures_list[0]
|
temperature_step = temperatures_list[1] - temperatures_list[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user