thomluther / anker-solix-api

Python library for Anker Solix API
MIT License
36 stars 10 forks source link

Add Support for timeslots to set home load routine #78

Closed thomluther closed 3 months ago

thomluther commented 3 months ago

To simplify modifications and creation of solarbank schedule via HA services, the set_home_load method needs to be enhance. It should Support passing a timeslot dict with possible parameters that can Define or modify a timeslot in the schedule. New schedules should be supported as well as timeslot updates in existing schedule. Timeslot updates should modify adjacent time slot times accordingly to avoid overlays. Completely overlapping slots will be removed.