mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Increase async_setup_platforms deprecation logging to warning (#86582)
This commit is contained in:
parent
b2004e62b1
commit
7ddb467ba6
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user