Add optimum

This commit is contained in:
hodasemi 2023-09-20 12:34:11 +02:00
parent 348bf19a3b
commit 254806a1ae

View file

@ -184,6 +184,11 @@ mod test {
price_list.push(("tibber hourly", tibber_hourly_prices)); price_list.push(("tibber hourly", tibber_hourly_prices));
// tibber optimal prices
let tibber_hourly_prices_optimal = generate_price_list(price_low, price_low);
price_list.push(("tibber hourly (optimal)", tibber_hourly_prices_optimal));
let db = DataBase::new("data.db").await?; let db = DataBase::new("data.db").await?;
let devices = Devices::read("devices.conf").await?; let devices = Devices::read("devices.conf").await?;