Skip to content

Commit

Permalink
Merge aaa1bb1 into c6683cb
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrike committed Nov 12, 2018
2 parents c6683cb + aaa1bb1 commit 835d029
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions homeassistant/components/climate/daikin.py
Expand Up @@ -105,16 +105,10 @@ def __init__(self, api):
daikin_attr = HA_ATTR_TO_DAIKIN[ATTR_FAN_MODE]
if self._api.device.values.get(daikin_attr) is not None:
self._supported_features |= SUPPORT_FAN_MODE
else:
# even devices without support must have a default valid value
self._api.device.values[daikin_attr] = 'A'

daikin_attr = HA_ATTR_TO_DAIKIN[ATTR_SWING_MODE]
if self._api.device.values.get(daikin_attr) is not None:
self._supported_features |= SUPPORT_SWING_MODE
else:
# even devices without support must have a default valid value
self._api.device.values[daikin_attr] = '0'

def get(self, key):
"""Retrieve device settings from API library cache."""
Expand Down

0 comments on commit 835d029

Please sign in to comment.