#include <entity_base.h>
Definition at line 16 of file entity_base.h.
◆ calc_object_id_()
void esphome::EntityBase::calc_object_id_ |
( |
| ) |
|
|
protected |
◆ get_entity_category()
◆ get_icon()
std::string esphome::EntityBase::get_icon |
( |
| ) |
const |
◆ get_name()
const StringRef & esphome::EntityBase::get_name |
( |
| ) |
const |
◆ get_object_id()
std::string esphome::EntityBase::get_object_id |
( |
| ) |
const |
◆ get_object_id_hash()
uint32_t esphome::EntityBase::get_object_id_hash |
( |
| ) |
|
◆ has_own_name()
bool esphome::EntityBase::has_own_name |
( |
| ) |
const |
|
inline |
◆ hash_base()
virtual uint32_t esphome::EntityBase::hash_base |
( |
| ) |
|
|
inlineprotectedvirtual |
The hash_base() function has been deprecated.
It is kept in this class for now, to prevent external components from not compiling.
Definition at line 53 of file entity_base.h.
◆ is_disabled_by_default()
bool esphome::EntityBase::is_disabled_by_default |
( |
| ) |
const |
◆ is_internal()
bool esphome::EntityBase::is_internal |
( |
| ) |
const |
◆ set_disabled_by_default()
void esphome::EntityBase::set_disabled_by_default |
( |
bool |
disabled_by_default | ) |
|
◆ set_entity_category()
void esphome::EntityBase::set_entity_category |
( |
EntityCategory |
entity_category | ) |
|
◆ set_icon()
void esphome::EntityBase::set_icon |
( |
const char * |
icon | ) |
|
◆ set_internal()
void esphome::EntityBase::set_internal |
( |
bool |
internal | ) |
|
◆ set_name()
void esphome::EntityBase::set_name |
( |
const char * |
name | ) |
|
◆ set_object_id()
void esphome::EntityBase::set_object_id |
( |
const char * |
object_id | ) |
|
◆ disabled_by_default_
bool esphome::EntityBase::disabled_by_default_ {false} |
|
protected |
◆ entity_category_
◆ has_own_name_
bool esphome::EntityBase::has_own_name_ {false} |
|
protected |
◆ icon_c_str_
const char* esphome::EntityBase::icon_c_str_ {nullptr} |
|
protected |
◆ internal_
bool esphome::EntityBase::internal_ {false} |
|
protected |
◆ name_
◆ object_id_c_str_
const char* esphome::EntityBase::object_id_c_str_ {nullptr} |
|
protected |
◆ object_id_hash_
uint32_t esphome::EntityBase::object_id_hash_ |
|
protected |
The documentation for this class was generated from the following files: