diff --git a/esphome/core/component_iterator.cpp b/esphome/core/component_iterator.cpp index 3e708e2d00..a01100a1ae 100644 --- a/esphome/core/component_iterator.cpp +++ b/esphome/core/component_iterator.cpp @@ -19,7 +19,7 @@ template void ComponentIterator::process_entity_(const std::vector &items, bool (ComponentIterator::*on_item)(Entity *)) { if (this->at_ >= items.size()) { - advance_platform_(); + this->advance_platform_(); } else { Entity *entity = items[this->at_]; if (entity->is_internal() && !this->include_internal_) {