thomluther / anker-solix-api

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

re-use old time slot parameters if either end or start time are equal when inserting a slot #86

Closed thomluther closed 3 months ago

thomluther commented 3 months ago

This allows adjustment of just one of the time slot boundaries without the need to specify any other parameter. It is likely that the intention is to change only a single slot boundaries when once remains the same. Therefore the existing corresponding parameter can be re-used when not specified in the insert slot. This avoids using defaults when the most likely intention is to change only one slot boundary.

thomluther commented 3 months ago

Changed in 1.7.1