format comment2

Co-authored-by: Jelle Spijker <spijker.jelle@gmail.com>
This commit is contained in:
Martín Villagra
2021-11-02 14:50:49 +00:00
parent 0550f54fe3
commit 6dcb5a5056

View File

@@ -366,7 +366,7 @@ class LocaltuyaClimate(LocalTuyaEntity, ClimateEntity):
# in case hvac mode and preset share the same dp
self._hvac_mode = HVAC_MODE_AUTO
"""Update the current action"""
# Update the current action
for action,value in self._conf_hvac_action_set.items():
if self.dps_conf(CONF_HVAC_ACTION_DP) == value:
self._hvac_action = action