ESPHome  2024.3.2
Public Member Functions | Protected Attributes
esphome::micronova::MicroNovaSensorListener Class Referenceabstract

#include <micronova.h>

Inheritance diagram for esphome::micronova::MicroNovaSensorListener:
esphome::micronova::MicroNovaBaseListener esphome::micronova::MicroNovaNumber esphome::micronova::MicroNovaSensor esphome::micronova::MicroNovaTextSensor

Public Member Functions

 MicroNovaSensorListener ()
 
 MicroNovaSensorListener (MicroNova *m)
 
virtual void request_value_from_stove ()=0
 
virtual void process_value_from_stove (int value_from_stove)=0
 
void set_needs_update (bool u)
 
bool get_needs_update ()
 
- Public Member Functions inherited from esphome::micronova::MicroNovaBaseListener
 MicroNovaBaseListener ()
 
 MicroNovaBaseListener (MicroNova *m)
 
virtual void dump_config ()
 
void set_micronova_object (MicroNova *m)
 
void set_function (MicroNovaFunctions f)
 
MicroNovaFunctions get_function ()
 
void set_memory_location (uint8_t l)
 
uint8_t get_memory_location ()
 
void set_memory_address (uint8_t a)
 
uint8_t get_memory_address ()
 

Protected Attributes

bool needs_update_ = false
 
- Protected Attributes inherited from esphome::micronova::MicroNovaBaseListener
MicroNovamicronova_ {nullptr}
 
MicroNovaFunctions function_ = MicroNovaFunctions::STOVE_FUNCTION_VOID
 
uint8_t memory_location_ = 0
 
uint8_t memory_address_ = 0
 

Detailed Description

Definition at line 73 of file micronova.h.

Constructor & Destructor Documentation

◆ MicroNovaSensorListener() [1/2]

esphome::micronova::MicroNovaSensorListener::MicroNovaSensorListener ( )
inline

Definition at line 75 of file micronova.h.

◆ MicroNovaSensorListener() [2/2]

esphome::micronova::MicroNovaSensorListener::MicroNovaSensorListener ( MicroNova m)
inline

Definition at line 76 of file micronova.h.

Member Function Documentation

◆ get_needs_update()

bool esphome::micronova::MicroNovaSensorListener::get_needs_update ( )
inline

Definition at line 81 of file micronova.h.

◆ process_value_from_stove()

virtual void esphome::micronova::MicroNovaSensorListener::process_value_from_stove ( int  value_from_stove)
pure virtual

◆ request_value_from_stove()

virtual void esphome::micronova::MicroNovaSensorListener::request_value_from_stove ( )
pure virtual

◆ set_needs_update()

void esphome::micronova::MicroNovaSensorListener::set_needs_update ( bool  u)
inline

Definition at line 80 of file micronova.h.

Field Documentation

◆ needs_update_

bool esphome::micronova::MicroNovaSensorListener::needs_update_ = false
protected

Definition at line 84 of file micronova.h.


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