mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-20 04:53:28 +02:00
13 lines
214 B
C++
13 lines
214 B
C++
#include "update_entity.h"
|
|
|
|
namespace esphome {
|
|
namespace update {
|
|
|
|
void UpdateEntity::publish_state() {
|
|
this->has_state_ = true;
|
|
this->state_callback_.call();
|
|
}
|
|
|
|
} // namespace update
|
|
} // namespace esphome
|