Record received consumption from inverter
This commit is contained in:
@ -47,7 +47,7 @@ impl RelayStateHistory {
|
||||
Self {
|
||||
id,
|
||||
day,
|
||||
buff: vec![0; 3600 * 24 / TIME_INTERVAL],
|
||||
buff: vec![0; (3600 * 24 / (TIME_INTERVAL * 8)) + 1],
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user