Increase async_setup_platforms deprecation logging to warning (#86582)

pull/85782/head^2
J. Nick Koston 2023-01-25 03:38:26 -10:00 committed by GitHub
parent b2004e62b1
commit 7ddb467ba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1327,10 +1327,10 @@ class ConfigEntries:
report(
(
"called async_setup_platforms instead of awaiting"
" async_forward_entry_setups; this will fail in version 2022.12"
" async_forward_entry_setups; this will fail in version 2023.3"
),
# Raise this to warning once all core integrations have been migrated
level=logging.DEBUG,
level=logging.WARNING,
error_if_core=False,
)
for platform in platforms: