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:
parent
911b159281
commit
aa013fa8f6
12 changed files with 11 additions and 17 deletions
|
@ -4,12 +4,10 @@ from total_connect_client.exceptions import AuthenticationError
|
|||
import voluptuous as vol
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
|
||||
from homeassistant.const import CONF_LOCATION, CONF_PASSWORD, CONF_USERNAME
|
||||
|
||||
from .const import CONF_USERCODES, DOMAIN
|
||||
|
||||
CONF_LOCATION = "location"
|
||||
|
||||
PASSWORD_DATA_SCHEMA = vol.Schema({vol.Required(CONF_PASSWORD): str})
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue