ESPHome  2024.11.2
Public Member Functions | Protected Member Functions | Protected Attributes
esphome::alarm_control_panel::AlarmControlPanelCall Class Reference

#include <alarm_control_panel_call.h>

Public Member Functions

 AlarmControlPanelCall (AlarmControlPanel *parent)
 
AlarmControlPanelCallset_code (const std::string &code)
 
AlarmControlPanelCallarm_away ()
 
AlarmControlPanelCallarm_home ()
 
AlarmControlPanelCallarm_night ()
 
AlarmControlPanelCallarm_vacation ()
 
AlarmControlPanelCallarm_custom_bypass ()
 
AlarmControlPanelCalldisarm ()
 
AlarmControlPanelCallpending ()
 
AlarmControlPanelCalltriggered ()
 
void perform ()
 
const optional< AlarmControlPanelState > & get_state () const
 
const optional< std::string > & get_code () const
 

Protected Member Functions

void validate_ ()
 

Protected Attributes

AlarmControlPanelparent_
 
optional< std::string > code_ {}
 
optional< AlarmControlPanelStatestate_ {}
 

Detailed Description

Definition at line 14 of file alarm_control_panel_call.h.

Constructor & Destructor Documentation

◆ AlarmControlPanelCall()

esphome::alarm_control_panel::AlarmControlPanelCall::AlarmControlPanelCall ( AlarmControlPanel parent)

Definition at line 12 of file alarm_control_panel_call.cpp.

Member Function Documentation

◆ arm_away()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::arm_away ( )

Definition at line 19 of file alarm_control_panel_call.cpp.

◆ arm_custom_bypass()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::arm_custom_bypass ( )

Definition at line 39 of file alarm_control_panel_call.cpp.

◆ arm_home()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::arm_home ( )

Definition at line 24 of file alarm_control_panel_call.cpp.

◆ arm_night()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::arm_night ( )

Definition at line 29 of file alarm_control_panel_call.cpp.

◆ arm_vacation()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::arm_vacation ( )

Definition at line 34 of file alarm_control_panel_call.cpp.

◆ disarm()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::disarm ( )

Definition at line 44 of file alarm_control_panel_call.cpp.

◆ get_code()

const optional< std::string > & esphome::alarm_control_panel::AlarmControlPanelCall::get_code ( ) const

Definition at line 60 of file alarm_control_panel_call.cpp.

◆ get_state()

const optional< AlarmControlPanelState > & esphome::alarm_control_panel::AlarmControlPanelCall::get_state ( ) const

Definition at line 59 of file alarm_control_panel_call.cpp.

◆ pending()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::pending ( )

Definition at line 49 of file alarm_control_panel_call.cpp.

◆ perform()

void esphome::alarm_control_panel::AlarmControlPanelCall::perform ( )

Definition at line 96 of file alarm_control_panel_call.cpp.

◆ set_code()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::set_code ( const std::string &  code)

Definition at line 14 of file alarm_control_panel_call.cpp.

◆ triggered()

AlarmControlPanelCall & esphome::alarm_control_panel::AlarmControlPanelCall::triggered ( )

Definition at line 54 of file alarm_control_panel_call.cpp.

◆ validate_()

void esphome::alarm_control_panel::AlarmControlPanelCall::validate_ ( )
protected

Definition at line 62 of file alarm_control_panel_call.cpp.

Field Documentation

◆ code_

optional<std::string> esphome::alarm_control_panel::AlarmControlPanelCall::code_ {}
protected

Definition at line 34 of file alarm_control_panel_call.h.

◆ parent_

AlarmControlPanel* esphome::alarm_control_panel::AlarmControlPanelCall::parent_
protected

Definition at line 33 of file alarm_control_panel_call.h.

◆ state_

optional<AlarmControlPanelState> esphome::alarm_control_panel::AlarmControlPanelCall::state_ {}
protected

Definition at line 35 of file alarm_control_panel_call.h.


The documentation for this class was generated from the following files: