[pre-commit.ci lite] apply automatic fixes

This commit is contained in:
pre-commit-ci-lite[bot] 2025-07-14 03:12:57 +00:00 committed by GitHub
parent b0266a0e9d
commit e6c9f030d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1538,8 +1538,8 @@ DeviceInfoResponse APIConnection::device_info(const DeviceInfoRequest &msg) {
for (auto const &area : App.get_areas()) { for (auto const &area : App.get_areas()) {
AreaInfo area_info; AreaInfo area_info;
area_info.area_id = area->get_area_id(); area_info.area_id = area->get_area_id();
area_info.name = area->get_name(); area_info.name = area->get_name();
resp.areas.push_back(area_info); resp.areas.push_back(area_info);
} }
#endif #endif
return resp; return resp;

View File

@ -1,6 +1,6 @@
from __future__ import annotations from __future__ import annotations
# ruff format -- again # ruff format -- again
import asyncio import asyncio
from collections.abc import Callable from collections.abc import Callable
from dataclasses import dataclass from dataclasses import dataclass