Add CONF_LOCATION constant (#68474)

* Add CONF_LOCATION constant

* Update all custom CONF_LOCATION definitions to point to constant

* remove CONF_LOCATION from homeassistant/components/totalconnect/const
This commit is contained in:
Raman Gupta
2022-03-26 00:10:54 -04:00
committed by GitHub
parent 911b159281
commit aa013fa8f6
12 changed files with 11 additions and 17 deletions

View File

@@ -6,7 +6,6 @@ from hole.exceptions import HoleError
from homeassistant.components import pi_hole, switch
from homeassistant.components.pi_hole.const import (
CONF_LOCATION,
CONF_STATISTICS_ONLY,
DEFAULT_LOCATION,
DEFAULT_NAME,
@@ -19,6 +18,7 @@ from homeassistant.const import (
ATTR_ENTITY_ID,
CONF_API_KEY,
CONF_HOST,
CONF_LOCATION,
CONF_NAME,
CONF_SSL,
CONF_VERIFY_SSL,