-
Autor
I'd like to create multiple schedules for a day for specific hours to turn electricity on and off. Logic is based on stock electricity prices with hard coded price roof to determine when to use electricity and when not. Amount of schedules for day is not predetermined as it will be determined by the prices. If all hours are too expensive like five cheapest hours are used. Script is run once per day.
At this point I'd like to perform this logic in one script and set all schedules from there, but there is limitation for 5 calls only. Setting a schedule requires at least 2 calls, to set on and off times.
Can you dodge this limitation somehow?
Shelly Plus PM1