mirror of
https://github.com/home-assistant/core.git
synced 2026-05-05 12:24:48 +02:00
Fix HAVCMode typing in Tuya (#94631)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user