From 886dea59c3cef0a5029870eb031aa552416593a0 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 15 Jun 2023 14:05:08 +0200 Subject: [PATCH] Fix HAVCMode typing in Tuya (#94631) --- homeassistant/components/tuya/climate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index 564bfab8b14..bcb97327006 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -205,7 +205,7 @@ class TuyaClimateEntity(TuyaEntity, ClimateEntity): self._attr_target_temperature_step = self._set_temperature.step_scaled # Determine HVAC modes - self._attr_hvac_modes: list[str] = [] + self._attr_hvac_modes: list[HVACMode] = [] self._hvac_to_tuya = {} if enum_type := self.find_dpcode( DPCode.MODE, dptype=DPType.ENUM, prefer_function=True