format comment

Co-authored-by: Jelle Spijker <[email protected]>
This commit is contained in:
Martín VillagraandJelle Spijker committed 2021-11-23 20:28:34 +00:00
1 parent b6fe88211a
commit 0550f54fe3
1 file changed
+1 -1
+1 -1
View File
@@ -353,7 +353,7 @@ class LocaltuyaClimate(LocalTuyaEntity, ClimateEntity):
else:
self._preset_mode = PRESET_NONE
"""Update the HVAC status"""
# Update the HVAC status
if self.has_config(CONF_HVAC_MODE_DP):
if not self._state:
self._hvac_mode = HVAC_MODE_OFF