flexmeasures.data.services.timerange
Functions
- flexmeasures.data.services.timerange.get_timerange(sensor_ids: list[int]) tuple[datetime.datetime, datetime.datetime]
Get the start and end of the least recent and most recent event, respectively.
In case of no data, defaults to (now, now).