- Added the
closedparameter toResamplerConfig, allowing users to configure the openness of the resampling window ("right"or"left"). - Introduced the
labelparameter toResamplerConfig, enabling users to specify whether the resampled timestamp represents the start or end of the resampling window.
- Fixed an off-by-one calculation in
OrderedRingBuffer.count_coveredby switching to integer timedelta division, ensuring accurate sample counting for all window sizes and sampling periods. - Component IDs are validated during creation of battery, pv and ev charger pools, so that errors are caught early and we don't end up getting cryptic failures from somewhere else.