9 #ifdef USE_BINARY_SENSOR 33 #ifdef USE_TEXT_SENSOR 46 #ifdef USE_DATETIME_DATE 49 #ifdef USE_DATETIME_TIME 52 #ifdef USE_DATETIME_DATETIME 71 #ifdef USE_MEDIA_PLAYER 76 #ifdef USE_ALARM_CONTROL_PANEL Base class for all switches.
bool send_text_sensor_state(text_sensor::TextSensor *text_sensor, std::string state)
bool send_alarm_control_panel_state(alarm_control_panel::AlarmControlPanel *a_alarm_control_panel)
This class represents the communication layer between the front-end MQTT layer and the hardware outpu...
Base class for all cover devices.
bool on_light(light::LightState *light) override
bool send_switch_state(switch_::Switch *a_switch, bool state)
LockState state
The current reported state of the lock.
bool on_date(datetime::DateEntity *date) override
bool send_valve_state(valve::Valve *valve)
bool send_fan_state(fan::Fan *fan)
bool send_climate_state(climate::Climate *climate)
bool send_lock_state(lock::Lock *a_lock, lock::LockState state)
bool send_text_state(text::Text *text, std::string state)
bool on_text_sensor(text_sensor::TextSensor *text_sensor) override
Base-class for all text inputs.
bool on_number(number::Number *number) override
InitialStateIterator(APIConnection *client)
bool on_lock(lock::Lock *a_lock) override
float state
This member variable stores the last state that has passed through all filters.
bool send_sensor_state(sensor::Sensor *sensor, float state)
bool on_sensor(sensor::Sensor *sensor) override
bool send_select_state(select::Select *select, std::string state)
bool on_time(datetime::TimeEntity *time) override
bool on_text(text::Text *text) override
Base-class for all numbers.
bool send_time_state(datetime::TimeEntity *time)
bool on_media_player(media_player::MediaPlayer *media_player) override
bool send_binary_sensor_state(binary_sensor::BinarySensor *binary_sensor, bool state)
bool on_update(update::UpdateEntity *update) override
bool state
The current reported state of the binary sensor.
bool send_update_state(update::UpdateEntity *update)
bool on_select(select::Select *select) override
bool send_cover_state(cover::Cover *cover)
esphome::binary_sensor::BinarySensor * binary_sensor
bool on_climate(climate::Climate *climate) override
bool send_date_state(datetime::DateEntity *date)
bool on_cover(cover::Cover *cover) override
bool on_valve(valve::Valve *valve) override
Base-class for all selects.
bool send_light_state(light::LightState *light)
Implementation of SPI Controller mode.
Base class for all valve devices.
bool send_media_player_state(media_player::MediaPlayer *media_player)
Base class for all binary_sensor-type classes.
bool on_binary_sensor(binary_sensor::BinarySensor *binary_sensor) override
bool send_datetime_state(datetime::DateTimeEntity *datetime)
bool on_datetime(datetime::DateTimeEntity *datetime) override
Base-class for all sensors.
bool on_fan(fan::Fan *fan) override
bool send_number_state(number::Number *number, float state)
bool state
The current reported state of the binary sensor.
esphome::sensor::Sensor * sensor
bool on_alarm_control_panel(alarm_control_panel::AlarmControlPanel *a_alarm_control_panel) override
Base class for all locks.
bool on_switch(switch_::Switch *a_switch) override
ClimateDevice - This is the base class for all climate integrations.