format comment2

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 0550f54fe3
commit 6dcb5a5056
1 file changed
+1 -1
+1 -1
View File
@@ -366,7 +366,7 @@ class LocaltuyaClimate(LocalTuyaEntity, ClimateEntity):
# in case hvac mode and preset share the same dp # in case hvac mode and preset share the same dp
self._hvac_mode = HVAC_MODE_AUTO self._hvac_mode = HVAC_MODE_AUTO
"""Update the current action""" # Update the current action
for action,value in self._conf_hvac_action_set.items(): for action,value in self._conf_hvac_action_set.items():
if self.dps_conf(CONF_HVAC_ACTION_DP) == value: if self.dps_conf(CONF_HVAC_ACTION_DP) == value:
self._hvac_action = action self._hvac_action = action