|
JBHaMqttDiscovery
|
Home Assistant device information for the "dev" block in MQTT Discovery payloads. More...
#include <HaDiscovery.h>
Public Attributes | |
| const char * | node_id = nullptr |
| Stable node identifier used in topics and unique_id (e.g. "esp32_kitchen_01"). | |
| const char * | name = nullptr |
| Device name shown in Home Assistant device registry. | |
| const char * | manufacturer = nullptr |
| Manufacturer name. | |
| const char * | model = nullptr |
| Model name. | |
| const char * | sw_version = nullptr |
| Software version string. | |
| const char * | identifiers = nullptr |
| Stable device identifier string (e.g. MAC address). | |
Home Assistant device information for the "dev" block in MQTT Discovery payloads.
| const char* HaDeviceInfo::identifiers = nullptr |
Stable device identifier string (e.g. MAC address).
This maps to the Home Assistant dev.ids field. It should be stable across reboots/flashes to avoid device duplication.