ESPHome  2022.6.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 83 of file api_server.h.

Field Documentation

◆ attribute

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

Definition at line 85 of file api_server.h.

◆ callback

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

Definition at line 86 of file api_server.h.

◆ entity_id

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

Definition at line 84 of file api_server.h.


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