Update file header (#21054)

* Update file header

* Update __init__.py
This commit is contained in:
Fabian Affolter 2019-02-14 05:35:12 +01:00 committed by Paulus Schoutsen
parent 3a386e627e
commit 161c368c9d
165 changed files with 482 additions and 1346 deletions

View file

@ -1,9 +1,4 @@
"""
Support for OpenTherm Gateway climate devices.
For more details about this platform, please refer to the documentation at
http://home-assistant.io/components/climate.opentherm_gw/
"""
"""Support for OpenTherm Gateway climate devices."""
import logging
from homeassistant.components.climate import (ClimateDevice, STATE_IDLE,
@ -17,14 +12,15 @@ from homeassistant.const import (ATTR_TEMPERATURE, CONF_NAME, PRECISION_HALVES,
TEMP_CELSIUS)
from homeassistant.helpers.dispatcher import async_dispatcher_connect
DEPENDENCIES = ['opentherm_gw']
SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE)
_LOGGER = logging.getLogger(__name__)
DEPENDENCIES = ['opentherm_gw']
async def async_setup_platform(hass, config, async_add_entities,
discovery_info=None):
SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE
async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
"""Set up the opentherm_gw device."""
gateway = OpenThermGateway(hass, discovery_info)
async_add_entities([gateway])