mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Use constants from const.py (#21068)
* Use constants from const.py * Fix lint issues
This commit is contained in:
@@ -3,14 +3,11 @@ import voluptuous as vol
|
||||
|
||||
from homeassistant.components.knx import ATTR_DISCOVER_DEVICES, DATA_KNX
|
||||
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
||||
from homeassistant.const import CONF_NAME
|
||||
from homeassistant.const import CONF_ADDRESS, CONF_NAME, CONF_TYPE
|
||||
from homeassistant.core import callback
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
CONF_ADDRESS = 'address'
|
||||
CONF_TYPE = 'type'
|
||||
|
||||
DEFAULT_NAME = 'KNX Sensor'
|
||||
DEPENDENCIES = ['knx']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user