add reference to external Scheduler and update library dependencies

This commit is contained in:
Nicu Hodos 2025-09-17 15:37:08 +02:00
parent ad03e147b9
commit 17105a0ce2
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ {
"$schema": "https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/schema/library.json", "$schema": "https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/schema/library.json",
"name": "ha-mqtt", "name": "ha-mqtt",
"version": "1.10.0", "version": "1.10.1",
"description": "Home Assistant classes for integration with MQTT auto discovery", "description": "Home Assistant classes for integration with MQTT auto discovery",
"repository": { "repository": {
"type": "git", "type": "git",
@ -15,6 +15,7 @@
} }
], ],
"dependencies": { "dependencies": {
"arkhipenko/TaskScheduler": "^3.8.5",
"bblanchon/ArduinoJson": "6.21.5", "bblanchon/ArduinoJson": "6.21.5",
"marvinroger/AsyncMqttClient": "^0.9.0", "marvinroger/AsyncMqttClient": "^0.9.0",
"esphome/ESPAsyncWebServer-esphome": "^3.4.0" "esphome/ESPAsyncWebServer-esphome": "^3.4.0"

View File

@ -4,6 +4,8 @@
#include "TaskScheduler.h" #include "TaskScheduler.h"
#include "ha.h" #include "ha.h"
extern Scheduler ts;
using namespace Ha; using namespace Ha;
namespace HaESP { namespace HaESP {