mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
fix linter errors
This commit is contained in:
parent
e4d3b25f1e
commit
4ecd724578
@ -17,11 +17,10 @@ import time
|
|||||||
import logging
|
import logging
|
||||||
from functools import partial
|
from functools import partial
|
||||||
from homeassistant.const import EVENT_HOMEASSISTANT_STOP, \
|
from homeassistant.const import EVENT_HOMEASSISTANT_STOP, \
|
||||||
ATTR_DISCOVERED, \
|
ATTR_DISCOVER_DEVICES, \
|
||||||
STATE_UNKNOWN
|
STATE_UNKNOWN
|
||||||
from homeassistant.helpers import discovery
|
from homeassistant.helpers import discovery
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
import homeassistant.bootstrap
|
|
||||||
|
|
||||||
DOMAIN = 'homematic'
|
DOMAIN = 'homematic'
|
||||||
REQUIREMENTS = ['pyhomematic==0.1.6']
|
REQUIREMENTS = ['pyhomematic==0.1.6']
|
||||||
|
@ -38,6 +38,7 @@ def setup_platform(hass, config, add_callback_devices, discovery_info=None):
|
|||||||
add_callback_devices)
|
add_callback_devices)
|
||||||
|
|
||||||
|
|
||||||
|
# pylint: disable=abstract-method
|
||||||
class HMThermostat(homematic.HMDevice, ThermostatDevice):
|
class HMThermostat(homematic.HMDevice, ThermostatDevice):
|
||||||
"""Represents a Homematic Thermostat in Home Assistant."""
|
"""Represents a Homematic Thermostat in Home Assistant."""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user