JBHaMqttDiscovery
Loading...
Searching...
No Matches
HaBinarySensorConfig Struct Reference

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).

Detailed Description

Configuration for a Home Assistant MQTT Discovery binary_sensor.


The documentation for this struct was generated from the following file: