I’m trying to get the hang of how integrations work in the system and how to extend them. So far not very successfull.
I started toying around with your Rainmachine integration, since I am moving stuff from a different system to HomeAssistant.
I have a specific use-case that I currently cannot do with the rainmachine integration: Modifying program start times (and possibly names).
This is all exposed via the API.
On my older home automation system I had a logic that set the start time for all programms to a “latest possible start time” value.
Then I would monitor several parameters, mainly PV energy production. When the excess energy surpassed a certain level, I would set the start time to “NOW + 5 minutes”. (And also logged the start time by adding it to the program name).
I assume for you that is likely a quick change. Maybe you can have a look at it.
the issue with the “start_program” call (regardless of via the integration or directly via the API), is that this will always start the program with the default run time.
The RM unfortunately does not have a way to trigger a program while still considering the calculated ET.
So the only way to work around that is to modify the start time.
In case someone is interested, I now solved it with a rest_command: