Use core constants for wemo and whois (#46548)
This commit is contained in:
parent
a3b733f1ec
commit
06c8fc6ef1
1 changed files with 1 additions and 3 deletions
|
@ -6,14 +6,12 @@ import voluptuous as vol
|
||||||
import whois
|
import whois
|
||||||
|
|
||||||
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
||||||
from homeassistant.const import CONF_NAME, TIME_DAYS
|
from homeassistant.const import CONF_DOMAIN, CONF_NAME, TIME_DAYS
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
CONF_DOMAIN = "domain"
|
|
||||||
|
|
||||||
DEFAULT_NAME = "Whois"
|
DEFAULT_NAME = "Whois"
|
||||||
|
|
||||||
ATTR_EXPIRES = "expires"
|
ATTR_EXPIRES = "expires"
|
||||||
|
|
Loading…
Add table
Reference in a new issue