Fixed price from config file reboot loop (#1172)

This commit is contained in:
Gunnar Skjold
2026-04-09 09:48:02 +02:00
committed by GitHub
parent fb4eea8208
commit f0c3873635
4 changed files with 12 additions and 7 deletions

View File

@@ -102,6 +102,8 @@ char* PriceService::getSource() {
return this->today->getSource();
} else if(tomorrow != NULL) {
return this->tomorrow->getSource();
} else if(!this->config->enabled && this->priceConfig.capacity() != 0) {
return "FIX"; // Fixed price
}
return "";
}