ESPHome  2024.5.4
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
uint8_t m
Definition: bl0939.h:20
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
This is a workaround until we can figure out a way to get the tflite-micro idf component code availab...
Definition: a01nyub.cpp:7
Base-class for all sensors.
Definition: sensor.h:57