ESPHome  2022.11.3
Data Fields
esphome::api::APIServer::HomeAssistantStateSubscription Struct Reference

#include <api_server.h>

Data Fields

std::string entity_id
 
optional< std::string > attribute
 
std::function< void(std::string)> callback
 

Detailed Description

Definition at line 95 of file api_server.h.

Field Documentation

◆ attribute

optional<std::string> esphome::api::APIServer::HomeAssistantStateSubscription::attribute

Definition at line 97 of file api_server.h.

◆ callback

std::function<void(std::string)> esphome::api::APIServer::HomeAssistantStateSubscription::callback

Definition at line 98 of file api_server.h.

◆ entity_id

std::string esphome::api::APIServer::HomeAssistantStateSubscription::entity_id

Definition at line 96 of file api_server.h.


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