Increase async_setup_platforms deprecation logging to warning (#86582)

This commit is contained in:
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

View File

@ -1327,10 +1327,10 @@ class ConfigEntries:
report( report(
( (
"called async_setup_platforms instead of awaiting" "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 # Raise this to warning once all core integrations have been migrated
level=logging.DEBUG, level=logging.WARNING,
error_if_core=False, error_if_core=False,
) )
for platform in platforms: for platform in platforms: