Add PlatformIO library.json and README note

Declare PubSubClient dependency; document lib_deps for PIO consumers.
This commit is contained in:
2026-04-19 21:17:11 +10:00
parent 25fc356a0a
commit 7c419cb99e
2 changed files with 61 additions and 0 deletions
+11
View File
@@ -9,6 +9,17 @@ The library is designed to use as low resources (RAM/flash) as possible.
Initially, it was optimized to work on Arduino Uno with Ethernet Shield,
but I successfully use it on ESP8266/ESP8255 boards in my projects.
## PlatformIO
[`library.json`](library.json) declares the **PubSubClient** dependency for Library Manager / LDF. Example:
```ini
lib_deps =
https://github.com/alexhopeoconnor/arduino-home-assistant.git
```
(`library.properties` remains the source of truth for the Arduino IDE 1.x/2.x library manager name **home-assistant-integration**.)
## Features
* Two-way communication (state reporting and command execution)