Fix identifying Plex schema when used in packages (#34651)

This commit is contained in:
Paulus Schoutsen committed 2020-04-24 14:20:55 -07:00
1 parent a65bb6d804
commit f3f2aa807b
2 files changed
+20 -6

No files matched your search

+1
View File
@@ -1012,6 +1012,7 @@ async def test_component_config_exceptions(hass, caplog):
("not_existing", vol.Schema({vol.Optional("zone", default=dict): dict}), None,),
("non_existing", vol.Schema({"zone": int}), None),
("zone", vol.Schema({}), None),
("plex", vol.Schema(vol.All({"plex": {"host": str}})), "dict"),
],
)
def test_identify_config_schema(domain, schema, expected):