From 5e5a141227a7d52a97e209bdafdf70243aaea53e Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Fri, 3 May 2024 09:19:37 +0100 Subject: [PATCH] Fix blocking sleep warning --- custom_components/hive_local_thermostat/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hive_local_thermostat/climate.py b/custom_components/hive_local_thermostat/climate.py index 41b4e36..5d2cd8d 100644 --- a/custom_components/hive_local_thermostat/climate.py +++ b/custom_components/hive_local_thermostat/climate.py @@ -3,7 +3,7 @@ from __future__ import annotations from dataclasses import dataclass -from time import sleep +from asyncio import sleep from homeassistant.const import ( UnitOfTemperature,