diff --git a/esphome/components/ds248x/ds248x.cpp b/esphome/components/ds248x/ds248x.cpp index 72476bb20b..04594a5269 100644 --- a/esphome/components/ds248x/ds248x.cpp +++ b/esphome/components/ds248x/ds248x.cpp @@ -122,8 +122,6 @@ void DS248xComponent::setup() { this->found_channel_sensors_.push_back(channel); } - index = 0; - // DS2482_100 if (this->ds248x_type_ == DS248xType::DS2482_100) { for (auto *sensor : this->sensors_) {