HAMQTT 0.1.0
ESP-IDF component for integrating devices with Home Assistant over MQTT
Loading...
Searching...
No Matches
hamqtt_device.h File Reference

Public API for representing a Home Assistant MQTT device. More...

#include "common.h"
#include "hamqtt_component.h"

Go to the source code of this file.

Classes

struct  HAMQTT_Device_Config
 Configuration parameters for a HAMQTT device. More...

Typedefs

typedef struct HAMQTT_Device HAMQTT_Device

Detailed Description

Public API for representing a Home Assistant MQTT device.

This header provides the HAMQTT_Device type and functions for managing a device with one or more MQTT components in Home Assistant. It allows registration of components, setting device metadata, and updating MQTT state.

Components are dispatched using the HAMQTT_Component interface.

Author
Ethan Barnes
Date
2025