8static const char *
const TAG =
"adc128s102.sensor";
13 LOG_SENSOR(
"",
"ADC128S102 Sensor",
this);
14 ESP_LOGCONFIG(TAG,
" Pin: %u", this->
channel_);
15 LOG_UPDATE_INTERVAL(
this);
ADC128S102Sensor(uint8_t channel)
void dump_config() override
void publish_state(float state)
Publish a new state to the front-end.
Providing packet encoding functions for exchanging data with a remote host.