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

Object-oriented entity handles. More...

#include <esphome/api/client.hpp>
#include <esphome/api/commands/command_builder.hpp>
#include <esphome/api/model/entity_store.hpp>
#include <esphome/api/model/entity_type.hpp>
#include <cstdint>
#include <optional>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for entity_handles.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esphome::api::Entity
 Common base: entity identity and the owning client. More...
 
class  esphome::api::TypedEntity< Derived >
 Adds the shared EntityInfo accessors, reading from Derived::info(). More...
 
class  esphome::api::ToggleEntity< Derived >
 Adds on/off helpers. Derived must provide state() (bool state) and set_power(bool). More...
 
class  esphome::api::BinarySensorEntity
 Handle to a BinarySensor entity. More...
 
class  esphome::api::SensorEntity
 Handle to a Sensor entity. More...
 
class  esphome::api::TextSensorEntity
 Handle to a TextSensor entity. More...
 
class  esphome::api::SwitchEntity
 Handle to a Switch entity. More...
 
class  esphome::api::LightEntity
 Handle to a Light entity. More...
 
class  esphome::api::CoverEntity
 Handle to a Cover entity. More...
 
class  esphome::api::FanEntity
 Handle to a Fan entity. More...
 
class  esphome::api::ClimateEntity
 Handle to a Climate entity. More...
 
class  esphome::api::NumberEntity
 Handle to a Number entity. More...
 
class  esphome::api::SelectEntity
 Handle to a Select entity. More...
 
class  esphome::api::TextEntity
 Handle to a Text entity. More...
 
class  esphome::api::ButtonEntity
 Handle to a Button entity. More...
 
class  esphome::api::LockEntity
 Handle to a Lock entity. More...
 
class  esphome::api::MediaPlayerEntity
 Handle to a MediaPlayer entity. More...
 
class  esphome::api::CameraEntity
 Handle to a Camera entity. More...
 
class  esphome::api::SirenEntity
 Handle to a Siren entity. More...
 
class  esphome::api::AlarmControlPanelEntity
 Handle to a AlarmControlPanel entity. More...
 
class  esphome::api::DateEntity
 Handle to a Date entity. More...
 
class  esphome::api::TimeEntity
 Handle to a Time entity. More...
 
class  esphome::api::DateTimeEntity
 Handle to a DateTime entity. More...
 
class  esphome::api::ValveEntity
 Handle to a Valve entity. More...
 
class  esphome::api::EventEntity
 Handle to a Event entity. More...
 
class  esphome::api::UpdateEntity
 Handle to a Update entity. More...
 
class  esphome::api::WaterHeaterEntity
 Handle to a WaterHeater entity. More...
 
class  esphome::api::InfraredEntity
 Handle to a Infrared entity. More...
 
class  esphome::api::RadioFrequencyEntity
 Handle to a RadioFrequency entity. More...
 

Namespaces

namespace  esphome
 
namespace  esphome::api
 

Detailed Description

Object-oriented entity handles.

Hierarchy: Entity (identity + client) -> TypedEntity<Derived> (common info accessors) -> optionally ToggleEntity<Derived> (on/off) -> concrete handle, which exposes a typed accessor for every info/state field plus command helpers.