Update esphome/components/text_sensor/text_sensor.cpp

This commit is contained in:
J. Nick Koston
2025-12-19 20:04:36 -10:00
committed by GitHub
parent 60d66365ad
commit 0cff5326bc

View File

@@ -91,7 +91,6 @@ void TextSensor::internal_send_state_to_frontend(const std::string &state) {
this->set_has_state(true);
ESP_LOGD(TAG, "'%s': Sending state '%s'", this->name_.c_str(), state.c_str());
this->callback_.call(state);
#if defined(USE_TEXT_SENSOR) && defined(USE_CONTROLLER_REGISTRY)
ControllerRegistry::notify_text_sensor_update(this);
#endif