-Add update sensor to HA. AWL search for an update every hour.
- Fixes duration in custom apps
This commit is contained in:
Stephan Mühl
2023-04-02 01:08:26 +02:00
parent 88085597d7
commit bc72069ae3
9 changed files with 38 additions and 70 deletions

View File

@@ -36,7 +36,7 @@
#include "MQTTManager.h"
#include "ServerManager.h"
#include "Globals.h"
#include "Updater.h"
#include "UpdateManager.h"
TaskHandle_t taskHandle;
volatile bool StopTask = false;
@@ -74,8 +74,8 @@ void setup()
{
MQTTManager.setup();
DisplayManager.loadNativeApps();
Updater.setup();
Updater.checkUpdate(false);
UpdateManager.setup();
UpdateManager.checkUpdate(false);
StopTask = true;
float x = 4;
while (x >= -85)