Jonathan Swoboda
b176d1f890
[core] Don't remove storage in clean-all ( #10921 )
2025-09-29 15:24:42 -04:00
Jonathan Swoboda
74f09a2b59
[core] Rename to clean-platform to clean-all ( #10876 )
2025-09-25 11:55:43 -04:00
Jonathan Swoboda
3cb2a4569c
[core] Add a clean-platform option ( #10831 )
2025-09-23 12:41:25 -04:00
J. Nick Koston
5062e7a0e1
Fix missing os import after merge collisions ( #10823 )
2025-09-21 15:59:44 -06:00
J. Nick Koston
440b0b5574
[tests] Add integration tests for oversized payload handling in API ( #10788 )
2025-09-22 09:07:47 +12:00
Jesse Hills
9ea3643b74
[core] os.path -> Path ( #10654 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-09-19 12:59:48 +00:00
J. Nick Koston
27fa18dcec
[core] Fix clean build files to properly clear PlatformIO cache ( #10754 )
2025-09-17 08:09:35 +12:00
Jonathan Swoboda
4d681ffe3d
[esp32] Rebuild when idf_component.yml changes ( #10540 )
2025-09-03 11:47:51 -04:00
Clyde Stubbs
9007621fd7
Revert "[core] Dont copy platform source files if there are no entities of that type" ( #10441 )
2025-08-26 09:15:44 +10:00
Jesse Hills
5e508f7461
[core] Dont copy platform source files if there are no entities of that type ( #10436 )
2025-08-25 14:46:54 -05:00
J. Nick Koston
8ea1a3ed64
[core] Trigger clean build when components are removed from configuration ( #10235 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-15 10:50:03 +12:00
J. Nick Koston
d64e4d3c49
[ruff] Enable FURB rules for code modernization ( #9896 )
2025-07-26 20:54:03 +12:00
J. Nick Koston
ffebd30033
[ruff] Enable SIM rules and fix code simplification violations ( #9872 )
2025-07-25 18:26:08 +12:00
Katherine Whitlock
16a426c182
Factor PlatformIO buildgen out of writer.py ( #9378 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-21 20:28:11 +12:00
Clyde Stubbs
3f492e3b82
[core] Don't issue -Wno-volatile for host platform ( #9511 )
2025-07-14 20:59:20 -10:00
J. Nick Koston
e7d819a656
Suppress spurious volatile and Python syntax warnings during builds ( #9488 )
2025-07-14 17:47:52 +10:00
Aleksey Zinchenko
f6f0e52d5e
[core] Deleting CMakeCache.txt for fast recompilation with ESP-IDF ( #8750 )
2025-07-02 17:37:31 +10:00
Jimmy Hedman
ee37d2f9c8
Build with C++17 ( #8603 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-06-14 08:21:39 -05:00
Clyde Stubbs
4d044d4ac9
[config] Clean build on ESP-IDF when component/platform combos change ( #9028 )
2025-06-09 08:39:02 +10:00
Thomas Rupprecht
aeb4e63950
update minimal python version to 3.10 ( #8850 )
2025-05-22 13:21:43 +12:00
Katherine Whitlock
3020083564
Ruff format for CI ( #8276 )
2025-02-19 13:24:43 -06:00
tomaszduda23
9acc21e81a
unified way how all platforms handle copy_files ( #7614 )
...
Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com >
2024-10-24 10:04:59 +13:00
Jesse Hills
ca8e45cf4c
[core] Only clean build files with esp-idf ( #7388 )
2024-09-02 19:11:21 +12:00
Clyde Stubbs
43f8f2fd2e
[core] Clean build if the loaded integrations changed ( #7344 )
2024-08-23 20:09:40 +12:00
Jesse Hills
e64709c37e
[code-quality] Organise core imports ( #7149 )
2024-07-29 14:07:44 +12:00
Kamil Trzciński
d582cfa30a
image: allow the image to by auto-loaded by animation ( #5139 )
2023-12-20 10:33:05 +00:00
dependabot[bot]
8e92bb7958
Bump black from 23.11.0 to 23.12.0 ( #5912 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
2023-12-12 21:59:10 +00:00
Daniel Mahaney
a15ac06771
Rp2040 pio ledstrip ( #4818 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-05-22 10:31:27 +12:00
Jesse Hills
dbe5587806
Add ESPHome version to generated platformio.ini ( #4443 )
...
* Add ESPHome version to generated platformio.ini
* Move description to platformio section
2023-02-16 00:27:32 +00:00
Jesse Hills
d220d41182
Bump python min to 3.9 ( #3871 )
2022-10-05 20:09:27 +13:00
Oxan van Leeuwen
cdda648360
Generate ARDUINO_VERSION_CODE in Python code ( #3101 )
...
Co-authored-by: Otto winter <otto@otto-winter.com >
2022-01-24 10:34:34 +01:00
Jesse Hills
ece71a0228
Run post scripts for factory binaries for flashing ( #3003 )
...
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2022-01-11 15:24:26 +13:00
Otto Winter
1a6a063e04
Move default build path to .esphome directory ( #2586 )
2021-10-23 12:38:57 +02:00
Otto Winter
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-20 11:47:51 +02:00
Oxan van Leeuwen
7452ef23b1
Add ESPHOME_VERSION_CODE define ( #2324 )
2021-09-20 20:16:59 +12:00
dependabot[bot]
dbb195691b
Bump pylint from 2.10.2 to 2.11.1 ( #2334 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-19 19:22:28 +02:00
Jesse Hills
54337befc2
Fix some lint errors in pylint 2.10.2 ( #2226 )
2021-08-31 14:00:58 +12:00
Stefan Agner
d9f09a7523
Initial ESP32-C3-DevKitM-1 board support ( #2062 )
...
Co-authored-by: Stijn Tintel <stijn@linux-ipv6.be >
2021-07-26 11:10:56 +02:00
Trevor North
1f5cbca509
Merge build flags from platformio_options ( #1651 )
2021-07-26 08:59:18 +02:00
Otto Winter
229bf719a2
Implement external custom components installing from YAML ( #1630 )
...
* Move components import loading to importlib MetaPathFinder and importlib.resources
* Add external_components component
* Fix
* Fix
* fix cv.url return
* fix validate shorthand git
* implement git refresh
* Use finders from sys.path_hooks instead of looking for __init__.py
* use github:// schema
* error handling
* add test
* fix handling git output
* revert file check handling
* fix test
* allow full component path be specified for local
* fix test
* fix path handling
* lint
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
2021-05-07 15:02:17 -03:00
Guillermo Ruffino
69879920eb
add-black ( #1593 )
...
* Add black
Update pre commit
Update pre commit
add empty line
* Format with black
2021-03-07 16:03:16 -03:00
acshef
ac15ce576b
Added "ESPHOME_NOGITIGNORE" env var to prevent .gitignore creation; moved env vars to consts ( #1425 )
2020-12-22 10:19:26 +13:00
Otto Winter
d26c43103d
ESP8266 change recommended framework version to 2.7.2 ( #1208 )
2020-07-27 18:22:47 +02:00
Otto Winter
5887fe8302
Enlarge ESP32 app partitions ( #1197 )
2020-07-25 14:40:47 +02:00
Otto Winter
6ae1efcf9f
Revert ESP32 default upload speed to 115200 ( #978 )
2020-02-15 20:48:08 -03:00
Otto Winter
056c72d50d
Drop Python 2 Support ( #793 )
...
* Remove Python 2 support
* Remove u-strings
* Remove docker symlinks
* Remove from travis
* Update requirements
* Upgrade flake8/pylint
* Fixes
* Manual
* Run pyupgrade
* Lint
* Remove base_int
* Fix
* Update platformio_api.py
* Update component.cpp
2019-12-07 18:28:55 +01:00
Otto Winter
bba6d6897d
Update dependencies ( #906 )
...
PyYAML 5.1.2 -> 5.2 https://github.com/yaml/pyyaml/blob/master/CHANGES
flake8 3.6.0 -> 3.7.9 https://github.com/PyCQA/flake8/tree/master/docs/source/release-notes
paho-mqtt 1.4.0 -> 1.5.0 https://github.com/eclipse/paho.mqtt.python/blob/master/ChangeLog.txt
platformio 4.0.3 -> 4.1.0 https://github.com/platformio/platformio-core/releases
protobuf 3.10.0 -> 3.11.1 https://github.com/protocolbuffers/protobuf/releases
pylint 2.3.0 -> 2.4.4 http://pylint.pycqa.org/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-4
2019-12-04 17:13:34 +01:00
Otto Winter
be6b4ee47f
Fix wizard mkdir ( #824 )
...
* Fix CLI wizard mkdir_p with empty path
Fixes https://github.com/esphome/issues/issues/796
* Cleanup
* Lint
2019-11-02 19:35:37 +01:00
Otto Winter
bb2582717f
Make file generation saving atomic ( #792 )
...
* Make file generation saving atomic
* Lint
* Python 2 Compat
* Fix
* Handle file not found error
2019-10-24 21:53:42 +02:00
Otto Winter
22aecdfc6f
Use higher default baudrate for USB upload ( #761 )
...
See also https://github.com/espressif/esptool/issues/435
2019-10-18 10:23:06 +02:00