Refactoring. Moved LCN constants to const.py (#21376)

This commit is contained in:
Andre Lengwenus authored and Fabian Affolter committed 2019-02-24 01:30:19 +01:00
1 parent b588c1fe1c
commit fc13e37d8d
5 files changed
+40 -33

No files matched your search

+3 -2
View File
@@ -1,7 +1,8 @@
"""Support for LCN lights."""
from homeassistant.components.lcn import (
from homeassistant.components.lcn import LcnDevice, get_connection
from homeassistant.components.lcn.const import (
CONF_CONNECTIONS, CONF_DIMMABLE, CONF_OUTPUT, CONF_TRANSITION, DATA_LCN,
OUTPUT_PORTS, LcnDevice, get_connection)
OUTPUT_PORTS)
from homeassistant.components.light import (
ATTR_BRIGHTNESS, ATTR_TRANSITION, SUPPORT_BRIGHTNESS, SUPPORT_TRANSITION,
Light)