Remove text sensor from if not configured
This commit is contained in:
parent
30485bafe1
commit
0ab450619a
|
@ -290,6 +290,8 @@ void tw7100Component::update_sensor(std::pair<std::string, std::string> data) {
|
|||
ESP_LOGV(TAG, "updating msel select");
|
||||
} else if (cmd == "SPEED") {
|
||||
ESP_LOGV(TAG, "updating speed select");
|
||||
#endif
|
||||
#ifdef USE_TEXT_SENSOR
|
||||
} else if (cmd == "SNO") {
|
||||
serial_->publish_state(value_string);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue