Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
needs midea-ac-lib version d018cc32473bfece1ab6a5a09c522d9ee6394189
  • Loading branch information
aa755 committed Jun 8, 2020
1 parent e601616 commit 68ef879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/midea/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def is_on(self):
async def async_set_temperature(self, **kwargs):
"""Set new target temperatures."""
if kwargs.get(ATTR_TEMPERATURE) is not None:
self._device.target_temperature = int(kwargs.get(ATTR_TEMPERATURE))
self._device.target_temperature = (kwargs.get(ATTR_TEMPERATURE))
self._changed = True
await self.apply_changes()

Expand Down

0 comments on commit 68ef879

Please sign in to comment.