mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Use string instead of slug for add-on slug validation (#46784)
This commit is contained in:
parent
6ad7020f99
commit
3e82509263
@ -76,7 +76,7 @@ SERVICE_RESTORE_PARTIAL = "restore_partial"
|
||||
|
||||
SCHEMA_NO_DATA = vol.Schema({})
|
||||
|
||||
SCHEMA_ADDON = vol.Schema({vol.Required(ATTR_ADDON): cv.slug})
|
||||
SCHEMA_ADDON = vol.Schema({vol.Required(ATTR_ADDON): cv.string})
|
||||
|
||||
SCHEMA_ADDON_STDIN = SCHEMA_ADDON.extend(
|
||||
{vol.Required(ATTR_INPUT): vol.Any(dict, cv.string)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user