mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 17:18:40 +00:00
wip
This commit is contained in:
@@ -41,10 +41,10 @@ void TextSensor::publish_state(const char *state, size_t len) {
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
this->raw_state.assign(state, len);
|
||||
#pragma GCC diagnostic pop
|
||||
this->raw_callback_.call(this->raw_state);
|
||||
ESP_LOGV(TAG, "'%s': Received new state %s", this->name_.c_str(), this->raw_state.c_str());
|
||||
this->filter_list_->input(this->raw_state);
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user