From 17105a0ce2458028603bbc0cc6556c5c883eccc6 Mon Sep 17 00:00:00 2001 From: Nicu Hodos Date: Wed, 17 Sep 2025 15:37:08 +0200 Subject: [PATCH] add reference to external Scheduler and update library dependencies --- library.json | 3 ++- src/esp.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/library.json b/library.json index 932f164..b1a6f80 100644 --- a/library.json +++ b/library.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/schema/library.json", "name": "ha-mqtt", - "version": "1.10.0", + "version": "1.10.1", "description": "Home Assistant classes for integration with MQTT auto discovery", "repository": { "type": "git", @@ -15,6 +15,7 @@ } ], "dependencies": { + "arkhipenko/TaskScheduler": "^3.8.5", "bblanchon/ArduinoJson": "6.21.5", "marvinroger/AsyncMqttClient": "^0.9.0", "esphome/ESPAsyncWebServer-esphome": "^3.4.0" diff --git a/src/esp.h b/src/esp.h index 828ee92..834585e 100644 --- a/src/esp.h +++ b/src/esp.h @@ -4,6 +4,8 @@ #include "TaskScheduler.h" #include "ha.h" +extern Scheduler ts; + using namespace Ha; namespace HaESP {