Some changes for fetching prices from amshub

This commit is contained in:
Gunnar Skjold
2022-12-02 19:24:53 +01:00
parent eed35b7bbc
commit 0927cab8e2
6 changed files with 12 additions and 5 deletions

View File

@@ -131,6 +131,8 @@ bool EntsoeApi::loop() {
return false;
}
#endif
if(!config->enabled)
return false;
if(strlen(config->area) == 0)
return false;
if(strlen(config->currency) == 0)