ESPHome  2024.11.2
Public Member Functions | Protected Attributes
esphome::micronova::MicroNovaNumberListener Class Referenceabstract

#include <micronova.h>

Inheritance diagram for esphome::micronova::MicroNovaNumberListener:
esphome::micronova::MicroNovaBaseListener

Public Member Functions

 MicroNovaNumberListener (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 87 of file micronova.h.

Constructor & Destructor Documentation

◆ MicroNovaNumberListener()

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

Definition at line 89 of file micronova.h.

Member Function Documentation

◆ get_needs_update()

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

Definition at line 94 of file micronova.h.

◆ process_value_from_stove()

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

◆ request_value_from_stove()

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

◆ set_needs_update()

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

Definition at line 93 of file micronova.h.

Field Documentation

◆ needs_update_

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

Definition at line 97 of file micronova.h.


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