diff --git a/hassio/api/homeassistant.py b/hassio/api/homeassistant.py index e5b7c761d..b492a8dfc 100644 --- a/hassio/api/homeassistant.py +++ b/hassio/api/homeassistant.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) SCHEMA_OPTIONS = vol.Schema({ - vol.Optional(ATTR_DEVICES): [vol.Coerce(str)], + vol.Optional(ATTR_DEVICES): [vol.Match(r"^[^/]*$")], }) SCHEMA_VERSION = vol.Schema({