Skip to content

Commit

Permalink
Fix for HA 0.89
Browse files Browse the repository at this point in the history
  • Loading branch information
gerard33 authored Mar 8, 2019
1 parent 5c77336 commit ba49cca
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions custom_components/climate/e_thermostaat.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
"""
Adds support for the Essent Icy E-Thermostaat units.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/climate.e_thermostaat/
https://github.com/custom-components/climate.e_thermostaat
"""
import logging
import requests
import voluptuous as vol

from homeassistant.components.climate import (
ClimateDevice, PLATFORM_SCHEMA, SUPPORT_OPERATION_MODE,
SUPPORT_TARGET_TEMPERATURE, SUPPORT_AWAY_MODE)
from homeassistant.components.climate import ClimateDevice, PLATFORM_SCHEMA
try:
from homeassistant.components.climate.const import (
SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE, SUPPORT_AWAY_MODE)
except ImportError:
from homeassistant.components.climate import (
SUPPORT_OPERATION_MODE, SUPPORT_TARGET_TEMPERATURE, SUPPORT_AWAY_MODE)
from homeassistant.const import (
ATTR_TEMPERATURE,
CONF_USERNAME, CONF_PASSWORD, TEMP_CELSIUS)
ATTR_TEMPERATURE, CONF_USERNAME, CONF_PASSWORD, TEMP_CELSIUS)
import homeassistant.helpers.config_validation as cv

__version__ = '0.2.0'
__version__ = '0.2.1'

_LOGGER = logging.getLogger(__name__)

Expand Down

0 comments on commit ba49cca

Please sign in to comment.