esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
home_assistant_services.hpp File Reference

Home Assistant user-defined services subsystem. More...

#include <esphome/api/model/enums.hpp>
#include <esphome/api/subsystems/subsystem.hpp>
#include <cstdint>
#include <functional>
#include <string>
#include <variant>
#include <vector>
Include dependency graph for home_assistant_services.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esphome::api::UserServiceArg
 One argument of a user-defined service. More...
 
struct  esphome::api::UserService
 A user-defined service advertised by the device (api: api.services). More...
 
class  esphome::api::HomeAssistantServices
 Discovers user-defined services and invokes them. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::api
 

Typedefs

using esphome::api::ServiceValue = std::variant< bool, std::int32_t, float, std::string, std::vector< bool >, std::vector< std::int32_t >, std::vector< float >, std::vector< std::string > >
 A value passed to a service invocation.
 

Detailed Description

Home Assistant user-defined services subsystem.