Read helper config via script

Hi, I want to read a config of a helper, in this case the new schedule integration. I can see the config file called schedule in ./config and I can read it in vscode . What I want to be able to do is access the contents of the file from a service / script so that I can send the schedule event collection to ESPHome via the API. Is it possible? If so does any body have an example?

Currently I use a HACS scheduler integration that exposes an attribute for the scheduled events. I want to instead use the new inbuilt scheduler. Many thanks

There are no services associated with the new weekly schedule.

The only way to use it is to monitor its state (e.g, with a state trigger).

You might like to vote here:

@tom_l Agree getting the schedule to be updated with services to get the full schedule etc would be great but its not going to happen soon. So have voted for the link feature request. Back to the question in the mean time does anybody know how to access a helper config from a script?