David van 't Wout and GitHub
2ab09e1a77
[core] Add add_cmake_arg ( #18498 )
2026-08-20 12:30:33 -05:00
J. Nick Koston and GitHub
0f59ef36a9
[core] Store the validated-config cache as JSON to drop YAML off the upload fast path ( #18106 )
2026-08-10 17:26:41 +12:00
cdd334284e
[rp2] Rename rp2040 platform to rp2 ( #17145 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-07-07 08:20:24 +12:00
Jonathan Swoboda and GitHub
e191fc5d47
[core] Support platformio_options on the native ESP-IDF toolchain ( #16917 )
2026-06-15 10:56:03 +12:00
5faed9d5f5
[nrf52] native build - download toolchain and sdk in venv ( #16388 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: Jonathan Swoboda <swoboda1337@users.noreply.github.com >
2026-06-09 07:04:51 -04:00
J. Nick Koston and GitHub
a52ca4f80a
[ota] Implement host platform OTA backend with re-exec for integration testing ( #16304 )
2026-05-11 10:51:08 -05:00
e9cc10fedc
[core] Native idf full support ( #14678 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: Jonathan Swoboda <swoboda1337@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2026-05-11 02:12:07 +00:00
1365251365
[ota] Add bootloader update functionality to ota component ( #16238 )
...
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@home-assistant.io >
2026-05-08 21:36:06 +00:00
e82f0f4432
[cpptests] support testing platform components ( #13075 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-10 02:41:02 +00:00
J. Nick Koston and GitHub
be44d4801f
[esp32] Reduce Arduino build size by 44% and build time by 36% ( #13623 )
2026-02-05 10:52:43 +01:00
Clyde Stubbs and GitHub
71940acc49
[esp32_ble] Remove requirement for configured network ( #12891 )
2026-01-04 22:37:44 +00:00
J. Nick Koston and GitHub
f32b69b8f1
[tests] Add unit test coverage for web_port property ( #11811 )
2025-11-10 10:00:42 -06:00
f2de8df556
[openthread] Fix OTA by populating CORE.address with device's mDNS address ( #11095 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-22 11:07:01 -10:00
87ca8784ef
[openthread] Backport address resolution support to prevent OTA crash ( #11312 )
...
Co-authored-by: Daniel Stiner <danstiner@gmail.com >
2025-10-20 10:12:56 +13:00
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 and GitHub
bd9dc43e59
Add additional coverage ahead of Path conversion ( #10723 )
2025-09-15 13:33:15 +12:00
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
Jimmy Hedman and GitHub
d69926485c
Convert IPAddress to use Pythonmodule ipaddress ( #8072 )
2025-01-13 08:12:38 +13:00
J. Nick Koston and GitHub
d9def0cb3a
Bump hypothesis to 6.92.1 ( #6011 )
2024-01-09 10:08:50 +09:00
Jesse Hills and GitHub
972598a698
Handle nanoseconds in config ( #5695 )
2023-11-08 21:34:44 +13:00
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
Otto Winter and GitHub
1b89174558
Store source package in Component for debugging ( #2070 )
2021-08-24 06:49:19 +12:00
Stefan Agner and GitHub
159744e09e
Support library override using named library with repository ( #2056 )
2021-07-26 10:50:45 +02:00
Otto Winter and GitHub
d4686c0fb1
Introduce new async-def coroutine syntax ( #1657 )
2021-05-17 17:14:15 +12:00
2225594ee8
Added an option to disable mDNS ( #1716 )
...
* Added an option to disable mDNS
* Fixed linter issues
* Moved the enable_mdns option to WiFi and Ethernet components
* extracted common method for add mdns library
* lint
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com >
2021-05-06 12:31:42 -03:00
Guillermo Ruffino and GitHub
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
Peter Kuehne and GitHub
67b4dcf8ae
Fix unit test warning for hypothesis deprecation ( #1163 )
2020-07-16 09:50:06 +02:00
Otto Winter and GitHub
d5c59292c8
Add pytest to CI ( #1138 )
2020-07-15 14:00:02 +02:00
Tim Savage and GitHub
d447548893
Tests for CPP Code generation and some Python3 improvements ( #961 )
...
* Basic pytest configuration
* Added unit_test script that triggers pytest
* Changed "fixtures" to fixture_path
This is consistent with pytest's tmp_path
* Initial unit tests for esphome.helpers
* Disabled coverage reporting for esphome/components.
Focus initial unittest efforts on the core code.
* Migrated some ip_address to hypothesis
* Added a hypothesis MAC address strategy
* Initial tests for core
* Added hypothesis to requirements
* Added tests for core classes
TestTimePeriod
Lambda
ID
DocumentLocation
DocumentRange
Define
Library
* Updated test config so package root is discovered
* Setup fixtures and inital tests for pins
* Added tests for validate GPIO
* Added tests for pin type
* Added initial config_validation tests
* Added more tests for config_validation
* Added comparison unit tests
* Added repr to core.TimePeriod. Simplified identifying faults in tests
* Fixed inverted gt/lt tests
* Some tests for Espcore
* Updated syntax for Python3
* Removed usage of kwarg that isn't required
* Started writing test cases
* Started writing test cases for cpp_generator
* Additional docs and more Python3 releated improvements
* More test cases for cpp_generator.
* Fixed linter errors
* Add codegen tests to ensure file API remains stable
* Add test cases for cpp_helpers
2020-04-19 21:05:58 -03:00
Guillermo Ruffino and GitHub
43cf3063e0
removes comments from lambda ( #998 )
...
* removes comments from lambda
* include comments in lambda test
* pylint no else return
2020-04-05 22:14:49 -03:00
Tim Savage and GitHub
c632b0e1d4
Unittests for esphome python code ( #931 )
2020-03-12 14:27:22 -07:00