mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Use CountrySelector in Prosegur Alarm (#101889)
This commit is contained in:
parent
0c901435bd
commit
c4ce900567
@ -21,7 +21,9 @@ STEP_USER_DATA_SCHEMA = vol.Schema(
|
|||||||
{
|
{
|
||||||
vol.Required(CONF_USERNAME): str,
|
vol.Required(CONF_USERNAME): str,
|
||||||
vol.Required(CONF_PASSWORD): str,
|
vol.Required(CONF_PASSWORD): str,
|
||||||
vol.Required(CONF_COUNTRY): vol.In(COUNTRY.keys()),
|
vol.Required(CONF_COUNTRY): selector.CountrySelector(
|
||||||
|
selector.CountrySelectorConfig(countries=list(COUNTRY))
|
||||||
|
),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user