7 static const char *
const TAG =
"number";
12 ESP_LOGD(TAG,
"'%s': Sending state %f", this->
get_name().c_str(), state);
void add_on_state_callback(std::function< void(float)> &&callback)
void publish_state(float state)
CallbackManager< void(float)> state_callback_
Implementation of SPI Controller mode.
const StringRef & get_name() const