Energy actor shall never fail

This commit is contained in:
2024-09-19 21:29:31 +02:00
parent fe0bc03c03
commit 719b0a0c5c
2 changed files with 6 additions and 10 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)?;