HAMqttDevice
HAMqttDevice copied to clipboard
A library that provides tools to simplify MQTT discovery implementation for Home Assistant to your device.

I'm getting an error compiling the library for an Arduino Mega 2560. Arduino\libraries\HAMqttDevice\src/HAMqttDevice.h:24:10: error: 'vector' in namespace 'std' does not name a template type std::vector _configVars; ^~~~~~ Arduino\libraries\HAMqttDevice\src/HAMqttDevice.h:31:10: error: 'vector'...
As per the Home Assistant [MQTT Discovery Documentation](https://www.home-assistant.io/docs/mqtt/discovery/#sensors-with-multiple-values), it is possible to define a single sensor that can define multiple values in a single payload (with multiple configs needed) by...
When attempting to declare both a SWITCH and BINARY SENSOR in the same arduino sketch I noticed some strange behaviour - for the second device declared, the status topic (stat_t)...
I'm using for the first time your library to simplify the management of the MQTT Discovery used by HA. I have downloaded your "**onoff_light**" sample and loaded on my NodeMCU...
While trying the [onoff_light](https://github.com/plapointe6/CustomHADevicesCollection/tree/master/onoff_light) example I had a problem to get autodiscovery working. The default discovery_prefix in the library is `ha` instead of `homeassistant`. Initially I thougt `ha` was a...
The original check was for just dictionary, but it needed to checked against arrays too.