Skip to content

Commit

Permalink
Merge 1041c26 into bbd0196
Browse files Browse the repository at this point in the history
  • Loading branch information
ttroy50 committed Mar 9, 2019
2 parents bbd0196 + 1041c26 commit 9472f86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion homeassistant/components/climate/ephember.py
Expand Up @@ -117,7 +117,8 @@ def device_state_attributes(self):
@property
def current_operation(self):
"""Return current operation ie. heat, cool, idle."""
mode = self._ember.get_zone_mode(self._zone_name)
from pyephember.pyephember import ZoneMode
mode = ZoneMode(self._zone['mode'])
return self.map_mode_eph_hass(mode)

@property
Expand Down

0 comments on commit 9472f86

Please sign in to comment.