Fixed hour skew on price modifier (#959)

* Use local timezone in price config

* Additional changes for previous commit

* Use CET/CEST for energy prices collected from server
This commit is contained in:
Gunnar Skjold
2025-06-05 07:40:29 +02:00
committed by GitHub
parent 3eaefefd26
commit 16f9ed7ecb
3 changed files with 16 additions and 8 deletions

View File

@@ -71,6 +71,7 @@ public:
PriceService(Stream*);
#endif
void setup(PriceServiceConfig&);
void setTimezone(Timezone* tz);
bool loop();
char* getToken();
@@ -114,6 +115,7 @@ private:
std::vector<PriceConfig> priceConfig;
Timezone* tz = NULL;
Timezone* entsoeTz = NULL;
static const uint16_t BufferSize = 256;
char* buf;