Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/climate/daikin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
ATTR_TEMPERATURE, CONF_HOST, CONF_NAME, TEMP_CELSIUS)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['pydaikin==0.4']
REQUIREMENTS = ['pydaikin==0.6']

_LOGGER = logging.getLogger(__name__)

Expand Down
8 changes: 2 additions & 6 deletions homeassistant/components/daikin.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@
from homeassistant.helpers.discovery import load_platform
from homeassistant.util import Throttle

REQUIREMENTS = ['pydaikin==0.4']
REQUIREMENTS = ['pydaikin==0.6']

_LOGGER = logging.getLogger(__name__)

DOMAIN = 'daikin'
HTTP_RESOURCES = ['aircon/get_sensor_info', 'aircon/get_control_info']

ATTR_TARGET_TEMPERATURE = 'target_temperature'
ATTR_INSIDE_TEMPERATURE = 'inside_temperature'
Expand Down Expand Up @@ -128,10 +127,7 @@ def __init__(self, device, name):
def update(self, **kwargs):
"""Pull the latest data from Daikin."""
try:
for resource in HTTP_RESOURCES:
self.device.values.update(
self.device.get_resource(resource)
)
self.device.update_status()
except timeout:
_LOGGER.warning(
"Connection failed for %s", self.ip_address
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ pycsspeechtts==1.0.2

# homeassistant.components.daikin
# homeassistant.components.climate.daikin
pydaikin==0.4
pydaikin==0.6

# homeassistant.components.deconz
pydeconz==47
Expand Down