mirror of
https://github.com/esphome/esphome.git
synced 2026-09-24 05:24:14 +00:00
1ba8b838dafd6b9527c7b43269f44e16973914a6
- get_ltchiptool_path: use 'Scripts/' on Windows, 'bin/' elsewhere when falling back to PlatformIO's libretiny penv. CPython venvs put scripts under Scripts/ on win32 and bin/ on POSIX; the prior hardcoded 'bin' would never have found ltchiptool on Windows. - _load_idedata: wrap json.loads on the prebuilt idedata.json in a try/except and re-raise as EsphomeError with a one-line diagnostic so the failure mode is a clean error instead of an unhandled JSONDecodeError stack trace. Update the surrounding comment to match the new behavior. - CORE.prebuilt_dir docstring: drop the dead 'docs/architecture/...' pointer (no docs/ tree in this repo); point at esphome-docs#6600 and device-builder#572 instead. New regression test: - test_load_idedata_prebuilt_malformed_json_raises_esphomeerror Updated test: - test_get_ltchiptool_path_pio_penv now uses Scripts/ on win32 to match the new platform-aware lookup. Issue: esphome/device-builder#572 Issue: esphome/device-builder#570
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
716 MiB
Languages
C++
55.5%
Python
43.9%
C
0.3%
JavaScript
0.2%
