Trying to fix tariff on wrong date. Also some code cleanup

This commit is contained in:
Gunnar Skjold
2026-03-05 13:14:48 +01:00
parent 0b4884652f
commit e81ef7a93b
9 changed files with 79 additions and 84 deletions

View File

@@ -7,8 +7,7 @@
#ifndef _AMSDATA_H
#define _AMSDATA_H
#include "Arduino.h"
#include <Timezone.h>
#include <WString.h>
#include "OBIScodes.h"
enum AmsType {
@@ -28,7 +27,7 @@ public:
AmsData();
void apply(AmsData& other);
void apply(const OBIS_code_t obis, double value);
void apply(const OBIS_code_t obis, double value, uint64_t millis64);
uint64_t getLastUpdateMillis();