Implement catchup hours logic

This commit is contained in:
2024-09-19 21:26:57 +02:00
parent 09c25a67c5
commit fe0bc03c03
6 changed files with 62 additions and 6 deletions

View File

@ -40,7 +40,7 @@ impl EnergyActor {
let devices_list = self.devices.full_list();
self.engine.refresh(self.curr_consumption, &devices_list);
self.engine.refresh(self.curr_consumption, &devices_list)?;
self.engine.persist_relays_state(&devices_list)?;