Deprecated - how to find instances

A very general question - when something is shown as deprecated in the Repairs section in settings, is there then a quick way to find out where I’ve actually used that deprecated call? I have over 100 automations, and it’s easy to miss an instance in a rarely-used one.

Ta!

Every repair is different. Post the repair you’re referring to.

Well, this particular one is related to Honeywell Evohome:

Evohome 'Refresh system' action is deprecated
Warning · Reported by Honeywell Total Connect Comfort (Europe)
This stops working in version 2027.1.0. Please address before upgrading.

The refresh_system action is deprecated and will stop working in Home Assistant 2027.1.0. Instead, use the homeassistant.update_entity action, targeting the controller's climate entity.

But this happens from time to time, so I wondered whether there was a good strategy in general to search all my automations and scripts, some way via the yaml perhaps.

Find your automations.yaml (and/or scripts.yaml) in the config dir and find ‘refresh’ , seems easiest shortcut to me. (Getting to it kinda depens on the installation method, but possible for all of them)

Would this be any help?

You get a report like this:

Thanks - that’s the way.

This looks interesting, but for now just searching in the automations.yaml file is good enough for me.

Thanks for the suggestion though.

did you find it? I get the same message. Searched everywhere. Searched the whole config folder. Aytomations Yaml, … everywhere. Nothing found

Yes - I used Studio Code Server to open automations.yaml and Ctrl-F to search for the rogue call.

I think once you’ve patched it and restarted, the error message remains - you have to manually dismiss it once you’ve fixed the issue.

Ha,ok. Did that too.
Strange..