From e6c9f030d60d742a2b06a282e2bd6146a534fe40 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Mon, 14 Jul 2025 03:12:57 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- esphome/components/api/api_connection.cpp | 4 ++-- esphome/zeroconf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/api/api_connection.cpp b/esphome/components/api/api_connection.cpp index e1d1486d36..ea3268a583 100644 --- a/esphome/components/api/api_connection.cpp +++ b/esphome/components/api/api_connection.cpp @@ -1538,8 +1538,8 @@ DeviceInfoResponse APIConnection::device_info(const DeviceInfoRequest &msg) { for (auto const &area : App.get_areas()) { AreaInfo area_info; area_info.area_id = area->get_area_id(); - area_info.name = area->get_name(); - resp.areas.push_back(area_info); + area_info.name = area->get_name(); + resp.areas.push_back(area_info); } #endif return resp; diff --git a/esphome/zeroconf.py b/esphome/zeroconf.py index 344278a24b..4763ff386a 100644 --- a/esphome/zeroconf.py +++ b/esphome/zeroconf.py @@ -1,6 +1,6 @@ from __future__ import annotations - # ruff format -- again +# ruff format -- again import asyncio from collections.abc import Callable from dataclasses import dataclass