Add optimum
This commit is contained in:
parent
348bf19a3b
commit
254806a1ae
1 changed files with 5 additions and 0 deletions
|
@ -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?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue