ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
esphome::uptime::UptimeFormat Struct Reference

Emitted by codegen in PROGMEM once per distinct format. More...

#include <uptime_text_sensor.h>

Data Fields

const char * days
 
const char * hours
 
const char * minutes
 
const char * seconds
 
const char * separator
 
uint8_t expand
 

Detailed Description

Emitted by codegen in PROGMEM once per distinct format.

On ESP8266 the labels are PROGMEM strings and expand is read with progmem_read_byte().

Definition at line 12 of file uptime_text_sensor.h.

Field Documentation

◆ days

const char* esphome::uptime::UptimeFormat::days

Definition at line 13 of file uptime_text_sensor.h.

◆ expand

uint8_t esphome::uptime::UptimeFormat::expand

Definition at line 18 of file uptime_text_sensor.h.

◆ hours

const char* esphome::uptime::UptimeFormat::hours

Definition at line 14 of file uptime_text_sensor.h.

◆ minutes

const char* esphome::uptime::UptimeFormat::minutes

Definition at line 15 of file uptime_text_sensor.h.

◆ seconds

const char* esphome::uptime::UptimeFormat::seconds

Definition at line 16 of file uptime_text_sensor.h.

◆ separator

const char* esphome::uptime::UptimeFormat::separator

Definition at line 17 of file uptime_text_sensor.h.


The documentation for this struct was generated from the following file: