ESPHome  2024.11.2
kmeteriso.h
Go to the documentation of this file.
1 #pragma once
2 
7 
8 namespace esphome {
9 namespace kmeteriso {
10 
13  public:
16 
17  // ========== INTERNAL METHODS ==========
18  // (In most use cases you won't need these)
19  void setup() override;
20  float get_setup_priority() const override;
21  void update() override;
22 
23  protected:
26  enum ErrorCode {
27  NONE = 0,
30  } error_code_{NONE};
31 };
32 
33 } // namespace kmeteriso
34 } // namespace esphome
float get_setup_priority() const override
Definition: kmeteriso.cpp:52
void set_internal_temperature_sensor(sensor::Sensor *t)
Definition: kmeteriso.h:15
enum esphome::kmeteriso::KMeterISOComponent::ErrorCode NONE
This class simplifies creating components that periodically check a state.
Definition: component.h:283
void set_temperature_sensor(sensor::Sensor *t)
Definition: kmeteriso.h:14
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
sensor::Sensor * internal_temperature_sensor_
Definition: kmeteriso.h:25
This class implements support for the KMeterISO thermocouple sensor.
Definition: kmeteriso.h:12
Base-class for all sensors.
Definition: sensor.h:57
This Class provides the methods to read/write bytes from/to an i2c device.
Definition: i2c.h:133