ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
tmp102.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::tmp102
 

Enumerations

enum  esphome::tmp102::TMP102ThresholdStatus : uint8_t {
  esphome::tmp102::TMP102_THRESHOLD_STATUS_NOT_CONFIGURED , esphome::tmp102::TMP102_THRESHOLD_STATUS_SETUP_FAILED , esphome::tmp102::TMP102_THRESHOLD_STATUS_OK , esphome::tmp102::TMP102_THRESHOLD_STATUS_RESTORE_RESET ,
  esphome::tmp102::TMP102_THRESHOLD_STATUS_RESTORE_RESET_SAVE_FAILED , esphome::tmp102::TMP102_THRESHOLD_STATUS_PREFERENCE_SAVE_FAILED , esphome::tmp102::TMP102_THRESHOLD_STATUS_RECOVERY_FAILED , esphome::tmp102::TMP102_THRESHOLD_STATUS_RECOVERED ,
  esphome::tmp102::TMP102_THRESHOLD_STATUS_WRITE_HIGH_FAILED , esphome::tmp102::TMP102_THRESHOLD_STATUS_WRITE_LOW_FAILED , esphome::tmp102::TMP102_THRESHOLD_STATUS_SENSOR_SETUP_FAILED , esphome::tmp102::TMP102_THRESHOLD_STATUS_COUNT
}
 

Functions

 esphome::tmp102::ESPHOME_LOG_TAG (TAG, "tmp102")
 
 esphome::tmp102::PROGMEM_STRING_TABLE (ThresholdStatusStrings, "Not configured", "Setup failed", "OK", "Restored thresholds reset", "Restore reset; save failed", "Preference save failed", "Configuration recovery failed", "Configuration restored", "Write failed: high threshold", "Write failed: low threshold", "Rejected: sensor setup failed")