mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Deprecate Soma Connect YAML configuration (#50651)
This commit is contained in:
parent
d72a10a5e9
commit
625e6ceff3
@ -15,11 +15,14 @@ from .const import API, DOMAIN, HOST, PORT
|
||||
DEVICES = "devices"
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
{
|
||||
DOMAIN: vol.Schema(
|
||||
{vol.Required(CONF_HOST): cv.string, vol.Required(CONF_PORT): cv.string}
|
||||
)
|
||||
},
|
||||
vol.All(
|
||||
cv.deprecated(DOMAIN),
|
||||
{
|
||||
DOMAIN: vol.Schema(
|
||||
{vol.Required(CONF_HOST): cv.string, vol.Required(CONF_PORT): cv.string}
|
||||
)
|
||||
},
|
||||
),
|
||||
extra=vol.ALLOW_EXTRA,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user