Use PLATFORM_SCHEMA_BASE as base schema for additional components. (#20578)
* Disable extra=vol.ALLOW_EXTRA for additional platforms. * Remove PLATFORM_SCHEMA_2 * Add entity_namespace to base platform schema
This commit is contained in:
parent
154b401d0a
commit
b1faad0a50
32 changed files with 75 additions and 81 deletions
|
@ -110,7 +110,7 @@ def test_platform_config():
|
|||
{'platform': 'mqtt', 'beer': 'yes'},
|
||||
)
|
||||
for value in options:
|
||||
cv.PLATFORM_SCHEMA(value)
|
||||
cv.PLATFORM_SCHEMA_BASE(value)
|
||||
|
||||
|
||||
def test_ensure_list():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue