Refactor Tradfri constants (#27334)
* Refactor constants * Rename constant * Rename constant * Rename constant * Review update * Remove duplicate constant * Reorder constants * Dont refresh features * Order package imports * Fix bug * Put back features in refresh * Fix import order * Refactor supported features * Refactor supported features, take 2
This commit is contained in:
parent
a8db8d8c0b
commit
78e9bba279
8 changed files with 73 additions and 69 deletions
|
@ -1,10 +1,9 @@
|
|||
"""Support for IKEA Tradfri sensors."""
|
||||
import logging
|
||||
|
||||
from homeassistant.components.tradfri.base_class import TradfriBaseDevice
|
||||
from homeassistant.const import DEVICE_CLASS_BATTERY
|
||||
from . import KEY_API, KEY_GATEWAY
|
||||
from .const import CONF_GATEWAY_ID
|
||||
from .base_class import TradfriBaseDevice
|
||||
from .const import KEY_GATEWAY, KEY_API, CONF_GATEWAY_ID
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue