pi_weather.api.agg_models module

Logic to merge 2 sensors data into one aggregate reading

pi_weather.api.agg_models.get_latest_aggregate_reading(data_bmp390=None, data_stcc4=None)[source]

Function to merge 2 inputs readings into an aggregate reading

Parameters:
Returns:

Agg readings

Return type:

LatestAggregateReading | None