From 06c8fc6ef1f4895b23b3b83f8ea9d58cbae6b4d7 Mon Sep 17 00:00:00 2001 From: tkdrob Date: Sun, 14 Feb 2021 20:14:48 -0500 Subject: [PATCH] Use core constants for wemo and whois (#46548) --- homeassistant/components/whois/sensor.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/whois/sensor.py b/homeassistant/components/whois/sensor.py index 7ec5c3dac5e..0e3c0c6e0da 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -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"