From 728043a6064e714082fc198dcf2212deacb82c7d Mon Sep 17 00:00:00 2001 From: Nicu Hodos Date: Wed, 29 May 2024 18:16:55 +0200 Subject: [PATCH] first version of the library --- library.json | 27 +++++++++++++++++++++++++++ {gateway/include => src}/ha.h | 0 {gateway/include => src}/mqtt.h | 0 {gateway/include => src}/utils.h | 0 4 files changed, 27 insertions(+) create mode 100644 library.json rename {gateway/include => src}/ha.h (100%) rename {gateway/include => src}/mqtt.h (100%) rename {gateway/include => src}/utils.h (100%) diff --git a/library.json b/library.json new file mode 100644 index 0000000..d8e72fd --- /dev/null +++ b/library.json @@ -0,0 +1,27 @@ +{ + "name": "ha-mqtt", + "version": "1.0.0", + "description": "Home Assistant classes for integration with MQTT auto discovery", + "repository": + { + "type": "git", + "url": "https://git.hodos.ro/arduino/ha-mqtt.git" + }, + "authors": + [ + { + "name": "Nicu Hodos", + "email": "nicu@hodos.ro", + "maintainer": true + } + ], + "dependencies": + { + "bblanchon/ArduinoJson": "6.21.5", + "arkhipenko/TaskScheduler": "^3.7.0", + "marvinroger/AsyncMqttClient": "^0.9.0" + }, + "license": "MIT", + "frameworks": "arduino", + "platforms": "*" + } diff --git a/gateway/include/ha.h b/src/ha.h similarity index 100% rename from gateway/include/ha.h rename to src/ha.h diff --git a/gateway/include/mqtt.h b/src/mqtt.h similarity index 100% rename from gateway/include/mqtt.h rename to src/mqtt.h diff --git a/gateway/include/utils.h b/src/utils.h similarity index 100% rename from gateway/include/utils.h rename to src/utils.h