Fix changing venstar operation_mode (#28754)

This commit is contained in:
Tyler Page
2019-11-15 12:49:56 +01:00
committed by Martin Hjelmare
parent 4c690eace8
commit 35000848ed
+1 -1
View File
@@ -278,7 +278,7 @@ class VenstarThermostat(ClimateDevice):
temperature = kwargs.get(ATTR_TEMPERATURE)
if operation_mode and self._mode_map.get(operation_mode) != self._client.mode:
set_temp = self._set_operation_mode(self._mode_map.get(operation_mode))
set_temp = self._set_operation_mode(operation_mode)
if set_temp:
if (