mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 09:47:52 +00:00
Use core constants for wemo and whois (#46548)
This commit is contained in:
parent
a3b733f1ec
commit
06c8fc6ef1
@ -6,14 +6,12 @@ import voluptuous as vol
|
||||
import whois
|
||||
|
||||
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
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
CONF_DOMAIN = "domain"
|
||||
|
||||
DEFAULT_NAME = "Whois"
|
||||
|
||||
ATTR_EXPIRES = "expires"
|
||||
|
Loading…
x
Reference in New Issue
Block a user