mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
[tuya] Fix clang-tidy signed/unsigned comparison warning (#11035)
This commit is contained in:
@@ -50,7 +50,7 @@ void TuyaSelect::dump_config() {
|
||||
" Options are:",
|
||||
this->select_id_, this->is_int_ ? "int" : "enum");
|
||||
auto options = this->traits.get_options();
|
||||
for (auto i = 0; i < this->mappings_.size(); i++) {
|
||||
for (size_t i = 0; i < this->mappings_.size(); i++) {
|
||||
ESP_LOGCONFIG(TAG, " %i: %s", this->mappings_.at(i), options.at(i).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user