HAMQTT 0.1.0
ESP-IDF component for integrating devices with Home Assistant over MQTT
|
HAMQTT Button component interface for Home Assistant MQTT discovery. More...
#include "common.h"
Go to the source code of this file.
Classes | |
struct | HAMQTT_Button_Config |
Configuration parameters for a HAMQTT button. More... |
Typedefs | |
typedef struct HAMQTT_Button | HAMQTT_Button |
typedef void(* | HAMQTT_Button_On_Press_Func) (void *args) |
Function pointer type for receiving button press events. |
HAMQTT Button component interface for Home Assistant MQTT discovery.
Declares the interface and configuration for button components within the HAMQTT MQTT integration framework for Home Assistant.
typedef void(* HAMQTT_Button_On_Press_Func) (void *args) |
Function pointer type for receiving button press events.
This function pointer is called every the button is pressed.
args | A pointer to user-defined arguments or context data required to handle the button press. This is typically a pointer to the button-specific data structure. |