Move device ABCs to separate helper file

This commit is contained in:
Paulus Schoutsen committed 2015-03-05 23:18:22 -08:00
1 parent 68668fc658
commit 3e15742875
14 files changed
+137 -125

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
""" Support for Wink sensors. """
from homeassistant.helpers import Device
from homeassistant.helpers.device import Device
from homeassistant.const import (
TEMP_CELCIUS, ATTR_UNIT_OF_MEASUREMENT, ATTR_FRIENDLY_NAME)
+1 -1
View File
@@ -31,7 +31,7 @@ import tellcore.constants as tellcore_constants
from homeassistant.const import (
ATTR_FRIENDLY_NAME, ATTR_UNIT_OF_MEASUREMENT, TEMP_CELCIUS)
from homeassistant.helpers import Device
from homeassistant.helpers.device import Device
DatatypeDescription = namedtuple("DatatypeDescription", ['name', 'unit'])
+1 -1
View File
@@ -9,7 +9,7 @@ from openzwave.network import ZWaveNetwork
from pydispatch import dispatcher
import homeassistant.components.zwave as zwave
from homeassistant.helpers import Device
from homeassistant.helpers.device import Device
from homeassistant.const import (
ATTR_BATTERY_LEVEL, ATTR_UNIT_OF_MEASUREMENT, STATE_ON, STATE_OFF,
TEMP_CELCIUS, TEMP_FAHRENHEIT, ATTR_LOCATION)