Update v2xeamberelectric.cpp

update timer time to 30 minutes 1800 seconds
master
devendragajjar 2025-04-08 04:15:22 +05:30 committed by GitHub
parent 9d62caeb1c
commit c6b992eb59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void V2xeAmberElectric::setupThing(ThingSetupInfo *info)
qCDebug(dcAmberElectric()) << "Either install an API key pacakge (nymea-apikeysprovider-plugin-*) or provide a key in the plugin settings.";
if (!mPluginTimer) {
mPluginTimer = hardwareManager()->pluginTimerManager()->registerTimer(30);//TODO make 30 minutes after test
mPluginTimer = hardwareManager()->pluginTimerManager()->registerTimer(1800);//TODO make 30 minutes after test for
connect(mPluginTimer, &PluginTimer::timeout, this, &V2xeAmberElectric::onPluginTimer);
}
info->finish(Thing::ThingErrorNoError);