ESPHome  2024.5.1
Data Structures | Enumerations
esphome::template_ Namespace Reference

Data Structures

struct  SensorDataStore
 
struct  SensorInfo
 
class  TemplateAlarmControlPanel
 
class  TemplateBinaryOutput
 
class  TemplateBinarySensor
 
class  TemplateButton
 
class  TemplateCover
 
class  TemplateDate
 
class  TemplateDateTime
 
class  TemplateEvent
 
class  TemplateFan
 
class  TemplateFloatOutput
 
class  TemplateLock
 
class  TemplateNumber
 
class  TemplateSelect
 
class  TemplateSensor
 
class  TemplateSwitch
 
class  TemplateText
 
class  TemplateTextSaverBase
 
class  TemplateTextSensor
 
class  TemplateTime
 
class  TemplateValve
 
class  TextSaver
 

Enumerations

enum  BinarySensorFlags : uint16_t { BINARY_SENSOR_MODE_NORMAL = 1 << 0, BINARY_SENSOR_MODE_BYPASS_ARMED_HOME = 1 << 1, BINARY_SENSOR_MODE_BYPASS_ARMED_NIGHT = 1 << 2, BINARY_SENSOR_MODE_CHIME = 1 << 3 }
 
enum  AlarmSensorType : uint16_t { ALARM_SENSOR_TYPE_DELAYED = 0, ALARM_SENSOR_TYPE_INSTANT, ALARM_SENSOR_TYPE_DELAYED_FOLLOWER }
 
enum  TemplateAlarmControlPanelRestoreMode { ALARM_CONTROL_PANEL_ALWAYS_DISARMED, ALARM_CONTROL_PANEL_RESTORE_DEFAULT_DISARMED }
 
enum  TemplateCoverRestoreMode { COVER_NO_RESTORE, COVER_RESTORE, COVER_RESTORE_AND_CALL }
 
enum  TemplateValveRestoreMode { VALVE_NO_RESTORE, VALVE_RESTORE, VALVE_RESTORE_AND_CALL }
 

Enumeration Type Documentation

◆ AlarmSensorType

Enumerator
ALARM_SENSOR_TYPE_DELAYED 
ALARM_SENSOR_TYPE_INSTANT 
ALARM_SENSOR_TYPE_DELAYED_FOLLOWER 

Definition at line 27 of file template_alarm_control_panel.h.

◆ BinarySensorFlags

Enumerator
BINARY_SENSOR_MODE_NORMAL 
BINARY_SENSOR_MODE_BYPASS_ARMED_HOME 
BINARY_SENSOR_MODE_BYPASS_ARMED_NIGHT 
BINARY_SENSOR_MODE_CHIME 

Definition at line 20 of file template_alarm_control_panel.h.

◆ TemplateAlarmControlPanelRestoreMode

Enumerator
ALARM_CONTROL_PANEL_ALWAYS_DISARMED 
ALARM_CONTROL_PANEL_RESTORE_DEFAULT_DISARMED 

Definition at line 35 of file template_alarm_control_panel.h.

◆ TemplateCoverRestoreMode

Enumerator
COVER_NO_RESTORE 
COVER_RESTORE 
COVER_RESTORE_AND_CALL 

Definition at line 10 of file template_cover.h.

◆ TemplateValveRestoreMode

Enumerator
VALVE_NO_RESTORE 
VALVE_RESTORE 
VALVE_RESTORE_AND_CALL 

Definition at line 10 of file template_valve.h.