Check if automation is available - if not reload automations (Bugfix for LG webOS TV)

Since switching the tv on fails from time to time and there is no fix in sight, I need to bugfix this issue:

When it fails, the automation that should wake the TV is not visible under automations. It is present in the yaml file. After reloading the automations or restarting HA, it is back and works.

My plan is to check if this automation is loaded/present. If not then reload all automations like it is possible under developer tools

How can I do this?

Any ideas on this topic?