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:
1 parent
154b401d0a
commit
b1faad0a50
32 files changed
+75
-81
No files matched your search
+1
-1
@@ -15,7 +15,7 @@ import homeassistant.config as config_util
|
||||
from homeassistant import setup, loader
|
||||
import homeassistant.util.dt as dt_util
|
||||
from homeassistant.helpers.config_validation import (
|
||||
PLATFORM_SCHEMA_2 as PLATFORM_SCHEMA, PLATFORM_SCHEMA_BASE)
|
||||
PLATFORM_SCHEMA, PLATFORM_SCHEMA_BASE)
|
||||
from homeassistant.helpers import discovery
|
||||
|
||||
from tests.common import \
|
||||
|
||||
Reference in new issue
Block a user