ESPHome 2026.1.0b1
Loading...
Searching...
No Matches
esphome::water_heater::SavedWaterHeaterState Struct Reference

#include <water_heater.h>

Public Member Functions

union { 
 
   float   target_temperature 
 
   struct { 
 
      float   target_temperature_low 
 
      float   target_temperature_high 
 
   }   __attribute__ 
 
__attribute__ ((packed)) 
 

Data Fields

WaterHeaterMode mode
 
uint32_t state
 

Detailed Description

Definition at line 57 of file water_heater.h.

Member Function Documentation

◆ __attribute__()

union esphome::water_heater::SavedWaterHeaterState::@167 esphome::water_heater::SavedWaterHeaterState::__attribute__ ( (packed) )

Field Documentation

◆ [struct]

struct { ... } esphome::water_heater::SavedWaterHeaterState::__attribute__

◆ mode

WaterHeaterMode esphome::water_heater::SavedWaterHeaterState::mode

Definition at line 58 of file water_heater.h.

◆ state

uint32_t esphome::water_heater::SavedWaterHeaterState::state

Definition at line 66 of file water_heater.h.

◆ target_temperature

float esphome::water_heater::SavedWaterHeaterState::target_temperature

Definition at line 60 of file water_heater.h.

◆ target_temperature_high

float esphome::water_heater::SavedWaterHeaterState::target_temperature_high

Definition at line 63 of file water_heater.h.

◆ target_temperature_low

float esphome::water_heater::SavedWaterHeaterState::target_temperature_low

Definition at line 62 of file water_heater.h.


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