8static const char *
const TAG =
"mcp3008.sensor";
13 ESP_LOGCONFIG(TAG,
"MCP3008Sensor:");
14 ESP_LOGCONFIG(TAG,
" Pin: %u", this->
pin_);
void dump_config() override
float get_setup_priority() const override
void publish_state(float state)
Publish a new state to the front-end.
const float DATA
For components that import data from directly connected sensors like DHT.
Providing packet encoding functions for exchanging data with a remote host.