Fix On/Off for melissa (#27733)

* Fixed On/Off for melissa

fixes #27092

* reformatted
pull/27774/head
kennedyshead 2019-10-17 10:32:02 +02:00 committed by Martin Hjelmare
parent 23db94c627
commit 46f1166edd
1 changed files with 3 additions and 1 deletions

View File

@ -156,7 +156,9 @@ class MelissaClimate(ClimateDevice):
return
mode = self.hass_mode_to_melissa(hvac_mode)
await self.async_send({self._api.MODE: mode})
await self.async_send(
{self._api.MODE: mode, self._api.STATE: self._api.STATE_ON}
)
async def async_send(self, value):
"""Send action to service."""