mirror of
https://github.com/esphome/esphome.git
synced 2025-08-01 16:07:47 +00:00
[pre-commit.ci lite] apply automatic fixes
This commit is contained in:
parent
b0266a0e9d
commit
e6c9f030d6
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user