Commit Graph
10648 Commits
Author SHA1 Message Date
Ross Tyler ada22e0053 remove trailing whitespace 2025-10-09 10:25:20 -07:00
Ross Tyler 327b366660 remove ESP-IDF guard around ethernet interface
__init__.py
	new interface config is already guarded by

                    config[CONF_TYPE] in SPI_ETHERNET_TYPES

            in (only) such cases,

            _validate
                    will provide a default if one not in config
            _final_validate
                    will use this to check for collision with spi component
            to_code
                    will generate #define USE_ETHERNET_SPI
2025-10-09 10:19:18 -07:00
Ross Tyler 3a9bc34bc9 remove ESP-IDF guard around ethernet interface
__init__.py
	new interface config is already guarded by

		config[CONF_TYPE] in SPI_ETHERNET_TYPES

	in (only) such cases,

	_validate
		will provide a default if one not in config
	_final_validate
		will use this to check for collision with spi component
	to_code
		will generate #define USE_ETHERNET_SPI

ethernet_component.cpp

	#ifdef USE_ETHERNET_SPI
	is the guard we want.
	we don't need (and don't want)
	#ifdef ESP-IDF

ethernet_component.h

	no need for
	using SPIInterface = spi_host_device_t;
	just use spi_host_device_t

	remove ESP_IDF guards
	they are all nested under USE_ETHERNET_SPI guards
2025-10-09 10:19:18 -07:00
pre-commit-ci-lite[bot] 499872e4fb [pre-commit.ci lite] apply automatic fixes 2025-10-09 10:19:11 -07:00
Ross Tyler c28e6b11ee moved ethernet interface choice entirely to config
verified that default choices that were made in C++
are still made now, in config.
that is, c3, c6, s2 and s3 variants choose spi2
and everything else (h2) chooses spi3.
these default choices can be overridden by explicit config

grep -H board idf.*
idf.c3.yaml:  board: esp32-c3-devkitm-1
idf.c6.yaml:  board: esp32-c6-devkitc-1
idf.h2.yaml:  board: esp32-h2-devkitm-1
idf.s2.yaml:  board: esp32-s2-saola-1
idf.s3.yaml:  board: esp32-s3-devkitc-1

for y in idf.*; do esphome config $y 2>/dev/null | grep ' interface'; echo $y; done
  interface: spi2
idf.c3.yaml
  interface: spi2
idf.c6.yaml
  interface: spi3
idf.h2.yaml
  interface: spi2
idf.s2.yaml
  interface: spi2
idf.s3.yaml
2025-10-09 10:17:39 -07:00
J. Nick Koston bb03f8e63f update w5500 test to use spi3 2025-10-09 10:17:38 -07:00
Ross Tyler bbd7f7368c generate code using spi_host_device_t enum 2025-10-09 10:17:38 -07:00
Ross Tyler dd545c824e simplify ethernet spi interface override logic 2025-10-09 10:17:38 -07:00
Ross Tyler 1c1895664c remove spi1 as an ethernet interface user choice on esp-idf, per espressif-docs 2025-10-09 10:17:38 -07:00
Ross Tyler 1804face26 enhance ethernet component for spi interface choice on esp-idf 2025-10-09 10:17:20 -07:00
dependabot[bot] d006008539 Bump esphome-dashboard from 20250904.0 to 20251009.0 (#11123)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-09 09:26:38 -04:00
J. Nick Koston 6bb1e4c9c0 [ci] Reduce component test group size to 10 to prevent runner disk exhaustion (#11122) 2025-10-09 10:35:52 +13:00
J. Nick Koston 82bdb08884 [ci] Reduce component test group size to prevent runner disk exhaustion (#11121) 2025-10-08 14:24:26 -04:00
Jesse Hills b709ff84c3 Bump version to 2025.11.0-dev 2025-10-08 21:14:45 +13:00
2fac813f18 [epaper_spi] New epaper component (#10462)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Tudor Sandu <tm.sandu@gmail.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-08 21:11:06 +13:00
a62c7a03dd [api] Add support for getting action responses from home-assistant (#10948)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2025-10-08 20:47:36 +13:00
J. Nick Koston ec63247ae0 [mdns] Fix delete/malloc bug and store string constants in flash (#11105) 2025-10-08 04:19:29 +00:00
0fe6e7169c [modbus_controller] courtesy response (#10027)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-08 16:40:49 +13:00
dependabot[bot] a0f4de1bfb Bump aioesphomeapi from 41.12.0 to 41.13.0 (#11113)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-08 03:35:17 +00:00
Jesse Hills a541549d23 [core] Fix dynamic auto load priority (#11112) 2025-10-07 17:05:09 -10:00
Jonathan Swoboda b74715fe14 [esp32] Fix issue when framework source is set (#11106) 2025-10-07 22:55:59 -04:00
J. Nick Koston 5aff20a624 [api] Add message size limits to prevent memory exhaustion (#10936) 2025-10-08 00:47:31 +00:00
Kevin AhrendtandJesse Hills 7682b4e9a3 [audio] Update esp-audio-libs 2.0.1 to use new FLAC decoder (#10974)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-10-07 23:35:42 +00:00
Jonathan Swoboda 6eabf709c6 [esp32] Hide build warnings (#11102) 2025-10-08 10:27:56 +13:00
J. Nick Koston 6209d4b493 [api] Optimize frame helpers to eliminate double-move overhead (#11092) 2025-10-08 10:16:44 +13:00
J. Nick Koston f10c361454 [esp32_ble] Refactor ESPBTUUID comparison with direct returns and memcmp (#11074) 2025-10-08 09:34:08 +13:00
J. Nick Koston 27456c1370 [esp32_ble] Refactor ESPBTUUID::from_raw to use parse_hex helpers (#11073) 2025-10-08 09:32:47 +13:00
J. Nick KostonandCopilot 1aeefbe547 [light] Reduce flash usage by eliminating duplicate validation code (#11030)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-08 09:23:57 +13:00
dependabot[bot]andJ. Nick Koston 3f3bce7ef4 Bump ruff from 0.13.3 to 0.14.0 (#11107)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2025-10-07 19:27:21 +00:00
Jesse Hills 0acc58d5a1 [core] Update helpers for new auto load functionality (#11097) 2025-10-07 14:24:28 -05:00
dependabot[bot] 0b4ef0fea2 Bump github/codeql-action from 3.30.6 to 4.30.7 (#11109)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 14:22:36 -05:00
dependabot[bot] a067bdb769 Bump aioesphomeapi from 41.11.0 to 41.12.0 (#11108)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-07 14:21:35 -05:00
Jesse Hills 301e7a7ac5 [const] Move CONF_CAPTURE_RESPONSE to const.py (#11096) 2025-10-07 03:15:56 -05:00
J. Nick Koston ac566b7fd6 [clang-tidy] Include sdkconfig.defaults in hash calculation (#11091) 2025-10-06 22:06:30 +00:00
J. Nick Koston fddb8b35f2 [esp32] Fix clang-tidy error for Arduino watchdog function declarations (#11085) 2025-10-06 16:54:13 -04:00
27e1095cd7 [core] Allow AUTO_LOAD to receive the component config to determine if it should load other components (#10961)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2025-10-06 15:36:27 -05:00
Mariusz Kryński fa4541a4f3 [mcp2515] setup filters (#10486) 2025-10-06 16:10:46 -04:00
J. Nick Koston 24dcc1843e [time] Fix clang-tidy sign comparison errors (#11080) 2025-10-06 14:34:40 -05:00
J. Nick Koston f670d775ac [api] Fix clang-tidy sign comparison error (#11081) 2025-10-06 19:26:58 +00:00
J. Nick Koston 59a31adac2 [waveshare_epaper] Fix clang-tidy sign comparison errors (#11079) 2025-10-07 08:14:28 +13:00
dependabot[bot] a3c0acc7c9 Bump pylint from 3.3.8 to 3.3.9 (#11082)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 14:13:48 -05:00
dependabot[bot] ad2c5b96a9 Bump zeroconf from 0.147.2 to 0.148.0 (#11083)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 19:11:04 +00:00
J. Nick Koston 9adc3bd943 [veml7700] Fix clang-tidy sign comparison errors (#11078) 2025-10-06 18:24:05 +00:00
J. Nick Koston ad296a7d74 [uponor_smatrix] Fix clang-tidy sign comparison errors (#11076) 2025-10-06 18:20:56 +00:00
J. Nick Koston fdd422c42a [tormatic] Fix clang-tidy sign comparison error (#11075) 2025-10-06 13:14:52 -05:00
J. Nick Koston 3d82301c3d [graph] Fix clang-tidy sign comparison error (#11051) 2025-10-06 13:28:43 -04:00
J. Nick Koston 2fa49be17d [haier] Fix clang-tidy sign comparison error (#11053) 2025-10-06 13:27:15 -04:00
J. Nick Koston 75867842ea [rtttl] Fix clang-tidy sign comparison error (#11065) 2025-10-06 13:26:59 -04:00
Stephen KentandJonathan Swoboda cba85c0925 [remote_receiver] Add signal demodulation support on ESP32 (#8711)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2025-10-06 13:24:58 -04:00
J. Nick Koston 42d1269aaf [esp32_ble_server] Use early returns in is_created() and is_failed() methods (#11072) 2025-10-06 17:16:25 +00:00