5namespace honeywellabp {
7static const char *
const TAG =
"honeywellabp";
30 ESP_LOGV(TAG,
"Sensor status %d",
status_);
39 "Sensor pressure_count_ %d\n"
40 "Sensor temperature_count_ %d",
73 ESP_LOGV(TAG,
"Update Honeywell ABP Sensor");
86 LOG_PIN(
" CS Pin: ", this->
cs_);
88 " Min Pressure Range: %0.1f\n"
89 " Max Pressure Range: %0.1f",
91 LOG_UPDATE_INTERVAL(
this);
sensor::Sensor * temperature_sensor_
float countstopressure_(int counts, float min_pressure, float max_pressure)
float get_setup_priority() const override
sensor::Sensor * pressure_sensor_
float honeywellabp_min_pressure_
void set_honeywellabp_min_pressure(float min_pressure)
float read_temperature_()
void dump_config() override
void set_honeywellabp_max_pressure(float max_pressure)
float honeywellabp_max_pressure_
float countstotemperatures_(int counts)
void publish_state(float state)
Publish a new state to the front-end.
void spi_setup() override
const float LATE
For components that should be initialized at the very end of the setup process.
Providing packet encoding functions for exchanging data with a remote host.