mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix missing Home in listener deprecation message (#115559)
This commit is contained in:
parent
0feea624f9
commit
b70edb89bf
@ -1556,7 +1556,7 @@ class EventBus:
|
||||
|
||||
frame.report(
|
||||
"calls `async_listen` with run_immediately, which is"
|
||||
" deprecated and will be removed in Assistant 2025.5",
|
||||
" deprecated and will be removed in Home Assistant 2025.5",
|
||||
error_if_core=False,
|
||||
)
|
||||
|
||||
@ -1630,7 +1630,7 @@ class EventBus:
|
||||
|
||||
frame.report(
|
||||
"calls `async_listen_once` with run_immediately, which is "
|
||||
"deprecated and will be removed in Assistant 2025.5",
|
||||
"deprecated and will be removed in Home Assistant 2025.5",
|
||||
error_if_core=False,
|
||||
)
|
||||
|
||||
|
@ -3409,5 +3409,5 @@ async def test_async_listen_with_run_immediately_deprecated(
|
||||
func(EVENT_HOMEASSISTANT_START, _test, run_immediately=run_immediately)
|
||||
assert (
|
||||
f"Detected code that calls `{method}` with run_immediately, which is "
|
||||
"deprecated and will be removed in Assistant 2025.5."
|
||||
"deprecated and will be removed in Home Assistant 2025.5."
|
||||
) in caplog.text
|
||||
|
Loading…
x
Reference in New Issue
Block a user