-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 00:59:17 +02:00
parent b08e38f06c
commit 88085597d7
2 changed files with 1 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
#include <updater.h>
#include <Updater.h>
#include <WiFi.h>
#include <HTTPClient.h>
#include <HTTPUpdate.h>

View File

@@ -2,22 +2,11 @@
#define UPDATER_h
#include <Arduino.h>
#include <EasyButton.h>
#ifdef ULANZI
#include "Adafruit_SHT31.h"
#else
#include "Adafruit_BME280.h"
#include "SoftwareSerial.h"
#include <DFMiniMp3.h>
#endif
class Updater_
{
private:
Updater_() = default;
public:
static Updater_ &getInstance();
void setup();