Deprecate JuiceNet YAML configuration (#50655)
This commit is contained in:
parent
00e90736bd
commit
c6860dc999
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,10 @@ _LOGGER = logging.getLogger(__name__)
|
|||
PLATFORMS = ["sensor", "switch"]
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
vol.All(
|
||||
cv.deprecated(DOMAIN),
|
||||
{DOMAIN: vol.Schema({vol.Required(CONF_ACCESS_TOKEN): cv.string})},
|
||||
),
|
||||
extra=vol.ALLOW_EXTRA,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue