ESPHome  2024.5.3
Public Member Functions | Protected Attributes
esphome::micronova::MicroNovaSwitchListener Class Referenceabstract

#include <micronova.h>

Inheritance diagram for esphome::micronova::MicroNovaSwitchListener:
esphome::micronova::MicroNovaBaseListener esphome::micronova::MicroNovaSwitch

Public Member Functions

 MicroNovaSwitchListener (MicroNova *m)
virtual void set_stove_state (bool v)=0
virtual bool get_stove_state ()=0
- 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

uint8_t memory_data_on_ = 0
uint8_t memory_data_off_ = 0
- 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 100 of file micronova.h.

Constructor & Destructor Documentation

◆ MicroNovaSwitchListener()

esphome::micronova::MicroNovaSwitchListener::MicroNovaSwitchListener ( MicroNova m)

Definition at line 102 of file micronova.h.

Member Function Documentation

◆ get_stove_state()

virtual bool esphome::micronova::MicroNovaSwitchListener::get_stove_state ( )
pure virtual

◆ set_stove_state()

virtual void esphome::micronova::MicroNovaSwitchListener::set_stove_state ( bool  v)
pure virtual

Field Documentation

◆ memory_data_off_

uint8_t esphome::micronova::MicroNovaSwitchListener::memory_data_off_ = 0

Definition at line 108 of file micronova.h.

◆ memory_data_on_

uint8_t esphome::micronova::MicroNovaSwitchListener::memory_data_on_ = 0

Definition at line 107 of file micronova.h.

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