mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 01:28:39 +00:00
Merge branch 'homeassistant_text_churn' into integration
This commit is contained in:
@@ -15,7 +15,7 @@ void HomeassistantTextSensor::setup() {
|
||||
} else {
|
||||
ESP_LOGD(TAG, "'%s': Got state '%s'", this->entity_id_, state.c_str());
|
||||
}
|
||||
this->publish_state(state.str());
|
||||
this->publish_state(state.c_str(), state.size());
|
||||
});
|
||||
}
|
||||
void HomeassistantTextSensor::dump_config() {
|
||||
|
||||
Reference in New Issue
Block a user