mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Finish migration from report to report_usage (#130412)
This commit is contained in:
@@ -224,10 +224,10 @@ def async_track_state_change(
|
||||
|
||||
Must be run within the event loop.
|
||||
"""
|
||||
frame.report(
|
||||
frame.report_usage(
|
||||
"calls `async_track_state_change` instead of `async_track_state_change_event`"
|
||||
" which is deprecated and will be removed in Home Assistant 2025.5",
|
||||
error_if_core=False,
|
||||
core_behavior=frame.ReportBehavior.LOG,
|
||||
)
|
||||
|
||||
if from_state is not None:
|
||||
|
||||
Reference in New Issue
Block a user