mirror of
https://github.com/home-assistant/core.git
synced 2025-10-16 23:29:30 +00:00
moved imports to top level (#27454)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
"""Support for Abode Security System sensors."""
|
||||
import logging
|
||||
|
||||
import abodepy.helpers.constants as CONST
|
||||
|
||||
from homeassistant.const import (
|
||||
DEVICE_CLASS_HUMIDITY,
|
||||
DEVICE_CLASS_ILLUMINANCE,
|
||||
@@ -21,7 +23,6 @@ SENSOR_TYPES = {
|
||||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
"""Set up a sensor for an Abode device."""
|
||||
import abodepy.helpers.constants as CONST
|
||||
|
||||
data = hass.data[ABODE_DOMAIN]
|
||||
|
||||
|
Reference in New Issue
Block a user