Upgrade black to 20.8b1 (#39287)
This commit is contained in:
parent
0d7eec710c
commit
1c2ebdf307
574 changed files with 4389 additions and 1725 deletions
|
@ -809,9 +809,7 @@ async def async_process_component_config(
|
|||
# Validate platform specific schema
|
||||
if hasattr(platform, "PLATFORM_SCHEMA"):
|
||||
try:
|
||||
p_validated = platform.PLATFORM_SCHEMA( # type: ignore
|
||||
p_config
|
||||
)
|
||||
p_validated = platform.PLATFORM_SCHEMA(p_config) # type: ignore
|
||||
except vol.Invalid as ex:
|
||||
async_log_exception(
|
||||
ex,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue