ESPHome 2025.8.0b1
Loading...
Searching...
No Matches
subscribe_state.cpp
Go to the documentation of this file.
1#include "subscribe_state.h"
2#ifdef USE_API
3#include "api_connection.h"
4#include "esphome/core/log.h"
5
6namespace esphome::api {
7
8// Generate entity handler implementations using macros
9#ifdef USE_BINARY_SENSOR
11#endif
12#ifdef USE_COVER
14#endif
15#ifdef USE_FAN
17#endif
18#ifdef USE_LIGHT
20#endif
21#ifdef USE_SENSOR
23#endif
24#ifdef USE_SWITCH
26#endif
27#ifdef USE_TEXT_SENSOR
29#endif
30#ifdef USE_CLIMATE
32#endif
33#ifdef USE_NUMBER
35#endif
36#ifdef USE_DATETIME_DATE
38#endif
39#ifdef USE_DATETIME_TIME
41#endif
42#ifdef USE_DATETIME_DATETIME
44#endif
45#ifdef USE_TEXT
47#endif
48#ifdef USE_SELECT
50#endif
51#ifdef USE_LOCK
53#endif
54#ifdef USE_VALVE
56#endif
57#ifdef USE_MEDIA_PLAYER
59#endif
60#ifdef USE_ALARM_CONTROL_PANEL
62#endif
63#ifdef USE_UPDATE
65#endif
66
67// Special cases (button and event) are already defined inline in subscribe_state.h
68
70
71} // namespace esphome::api
72#endif
InitialStateIterator(APIConnection *client)
Base class for all binary_sensor-type classes.
ClimateDevice - This is the base class for all climate integrations.
Definition climate.h:168
Base class for all cover devices.
Definition cover.h:111
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
Definition light_state.h:66
Base class for all locks.
Definition lock.h:103
Base-class for all numbers.
Definition number.h:39
Base-class for all selects.
Definition select.h:31
Base-class for all sensors.
Definition sensor.h:59
Base class for all switches.
Definition switch.h:39
Base-class for all text inputs.
Definition text.h:24
Base class for all valve devices.
Definition valve.h:105
INITIAL_STATE_HANDLER(binary_sensor, binary_sensor::BinarySensor) INITIAL_STATE_HANDLER(cover