Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: J. Nick Koston <nick@home-assistant.io> Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
28 lines
920 B
C++
28 lines
920 B
C++
#pragma once
|
|
|
|
#include "esphome/core/defines.h"
|
|
#ifdef USE_ESP32
|
|
#ifdef USE_ZIGBEE
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "esp_zigbee_core.h"
|
|
|
|
esp_err_t esphome_zb_cluster_list_add_or_update_cluster(uint16_t cluster_id, esp_zb_cluster_list_t *cluster_list,
|
|
esp_zb_attribute_list_t *attr_list, uint8_t role_mask);
|
|
esp_zb_attribute_list_t *esphome_zb_default_attr_list_create(uint16_t cluster_id);
|
|
esp_err_t esphome_zb_cluster_add_attr(uint16_t cluster_id, esp_zb_attribute_list_t *attr_list, uint16_t attr_id,
|
|
void *value_p);
|
|
esp_err_t esphome_zb_cluster_add_or_update_attr(uint16_t cluster_id, esp_zb_attribute_list_t *attr_list,
|
|
uint16_t attr_id, void *value_p);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
namespace esphome::zigbee {} // namespace esphome::zigbee
|
|
#endif
|
|
|
|
#endif
|
|
#endif
|