I have now got the basics of understanding HA but scripts has confused the hell out of me!
I wish to create a script to get my current heating schedule and save it to a file.
I can call the service from the developer tools which works fine;
I wish to write a script to call the wiser.get_schedule service and save multiple files for the different rooms, basically it uses the same service but the entity id changes to each room name.
Any help appreciated