#include <menu_item.h>
Definition at line 139 of file menu_item.h.
◆ MenuItemSwitch()
esphome::display_menu_base::MenuItemSwitch::MenuItemSwitch |
( |
| ) |
|
|
inlineexplicit |
◆ get_switch_state_()
bool esphome::display_menu_base::MenuItemSwitch::get_switch_state_ |
( |
| ) |
const |
|
protected |
◆ get_value_text()
std::string esphome::display_menu_base::MenuItemSwitch::get_value_text |
( |
| ) |
const |
|
overridevirtual |
◆ has_value()
bool esphome::display_menu_base::MenuItemSwitch::has_value |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ select_next()
bool esphome::display_menu_base::MenuItemSwitch::select_next |
( |
| ) |
|
|
overridevirtual |
◆ select_prev()
bool esphome::display_menu_base::MenuItemSwitch::select_prev |
( |
| ) |
|
|
overridevirtual |
◆ set_off_text()
void esphome::display_menu_base::MenuItemSwitch::set_off_text |
( |
const std::string & |
t | ) |
|
|
inline |
◆ set_on_text()
void esphome::display_menu_base::MenuItemSwitch::set_on_text |
( |
const std::string & |
t | ) |
|
|
inline |
◆ set_switch_variable()
void esphome::display_menu_base::MenuItemSwitch::set_switch_variable |
( |
switch_::Switch * |
var | ) |
|
|
inline |
◆ toggle_switch_()
bool esphome::display_menu_base::MenuItemSwitch::toggle_switch_ |
( |
| ) |
|
|
protected |
◆ switch_off_text_
std::string esphome::display_menu_base::MenuItemSwitch::switch_off_text_ |
|
protected |
◆ switch_on_text_
std::string esphome::display_menu_base::MenuItemSwitch::switch_on_text_ |
|
protected |
◆ switch_var_
switch_::Switch* esphome::display_menu_base::MenuItemSwitch::switch_var_ {nullptr} |
|
protected |
The documentation for this class was generated from the following files:
- /opt/build/esphome/esphome/components/display_menu_base/menu_item.h
- /opt/build/esphome/esphome/components/display_menu_base/menu_item.cpp