J. Nick Koston 5ff0824873 Cover the rename target-path-equals-source branch
Codecov flagged the path-equality branch (return 1 when
`<config_dir>/<new_name>.yaml` resolves to the source file) as
uncovered after the recent same-name guard was added: the new
`new_name == old_name` check above intercepts the cases the
existing tests exercised, leaving the path-equality branch
unreachable from the rest of the suite.

Add a dedicated test (`kitchen.yaml` holding
`esphome.name: garage`, renamed to `kitchen`) where the names
differ but the resolved target path equals the source. Pins the
branch and the "already the device's name" message + non-call
of run_external_process.
2026-05-07 14:19:48 -05:00
2026-05-05 08:27:10 +12:00
S
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme Multiple Licenses 682 MiB
Languages
C++ 61.9%
Python 37.5%
C 0.3%
JavaScript 0.2%