ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::globals Namespace Reference

Data Structures

class  GlobalsComponent
 
class  RestoringGlobalsComponent
 
class  RestoringGlobalStringComponent
 

Enumerations

enum class  Storage : uint8_t { STORAGE_PLATFORM , STORAGE_FLASH , STORAGE_RTC }
 

Functions

template<typename T >
T & id (GlobalsComponent< T > *value)
 
template<typename T , Storage STORAGE>
T & id (RestoringGlobalsComponent< T, STORAGE > *value)
 
template<typename T , uint8_t SZ, Storage STORAGE>
T & id (RestoringGlobalStringComponent< T, SZ, STORAGE > *value)
 

Enumeration Type Documentation

◆ Storage

enum class esphome::globals::Storage : uint8_t
strong
Enumerator
STORAGE_PLATFORM 
STORAGE_FLASH 
STORAGE_RTC 

Definition at line 29 of file globals_component.h.

Function Documentation

◆ id() [1/3]

template<typename T >
T & esphome::globals::id ( GlobalsComponent< T > * value)

Definition at line 147 of file globals_component.h.

◆ id() [2/3]

template<typename T , Storage STORAGE>
T & esphome::globals::id ( RestoringGlobalsComponent< T, STORAGE > * value)

Definition at line 148 of file globals_component.h.

◆ id() [3/3]

template<typename T , uint8_t SZ, Storage STORAGE>
T & esphome::globals::id ( RestoringGlobalStringComponent< T, SZ, STORAGE > * value)

Definition at line 149 of file globals_component.h.