|
JBHaMqttDiscovery
|
Configuration for a Home Assistant MQTT Discovery binary_sensor. More...
#include <HaDiscovery.h>
Public Attributes | |
| HaEntityCommon | common |
| const char * | device_class = nullptr |
| Optional device_class (e.g. "motion", "door", "presence"). | |
| const char * | payload_on = nullptr |
| Optional payload representing ON state (default "ON" if nullptr). | |
| const char * | payload_off = nullptr |
| Optional payload representing OFF state (default "OFF" if nullptr). | |
Configuration for a Home Assistant MQTT Discovery binary_sensor.