ESPHome  2024.9.2
micronova_sensor.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace esphome {
7 namespace micronova {
8 
10  public:
12  void dump_config() override { LOG_SENSOR("", "Micronova sensor", this); }
13 
14  void request_value_from_stove() override {
16  }
17  void process_value_from_stove(int value_from_stove) override;
18 
19  void set_fan_speed_offset(uint8_t f) { this->fan_speed_offset_ = f; }
20  uint8_t get_set_fan_speed_offset() { return this->fan_speed_offset_; }
21 
22  protected:
24 };
25 
26 } // namespace micronova
27 } // namespace esphome
void request_address(uint8_t location, uint8_t address, MicroNovaSensorListener *listener)
Definition: micronova.cpp:65
void process_value_from_stove(int value_from_stove) override
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
uint8_t m
Definition: bl0906.h:208
Base-class for all sensors.
Definition: sensor.h:57