Commit Graph

23267 Commits

Author SHA1 Message Date
J. Nick Koston
113b1554aa Merge remote-tracking branch 'upstream/dev' into integration 2026-02-25 17:39:57 -07:00
Jonathan Swoboda
0d5b7df77d [sensor] Fix delta filter percentage mode regression (#14302)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 19:32:02 -05:00
Jonathan Swoboda
534857db9c [wled] Fix millis overflow in blank timeout (#14300)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick+github@koston.org>
2026-02-25 18:01:49 -05:00
Jonathan Swoboda
0a81a7a50b [mcp2515] Fix millis overflow in set_mode_ timeout (#14298)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 18:01:32 -05:00
J. Nick Koston
e75cb324af Merge remote-tracking branch 'origin/light-effect-index-codegen' into integration 2026-02-25 15:41:15 -07:00
J. Nick Koston
ed6ebe10f9 Use ESPHOME_strncasecmp_P for "none" check to keep string in flash 2026-02-25 15:33:36 -07:00
Jonathan Swoboda
23ef233b60 [gp8403] Fix enum size mismatch in voltage register write (#14296)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 17:21:50 -05:00
Jonathan Swoboda
24fb74f78b [ld2420] Fix buffer overflows in command response parsing (#14297)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 17:21:33 -05:00
J. Nick Koston
b17fecd796 Merge remote-tracking branch 'origin/light-effect-index-codegen' into integration 2026-02-25 15:15:46 -07:00
J. Nick Koston
1e806301bd Address review comments: add typing, pre-lowercase effect name 2026-02-25 15:05:24 -07:00
Jonathan Swoboda
2e167835ea [pn532] Replace millis zero sentinel with optional (#14295)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 15:15:49 -05:00
Jonathan Swoboda
a60e5c5c4f [lightwaverf] Fix millis overflow in send timeout check (#14294)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 15:11:52 -05:00
J. Nick Koston
794d3fdb31 Merge remote-tracking branch 'upstream/dev' into integration 2026-02-25 13:10:41 -07:00
Jonathan Swoboda
3dcc9ab765 [ble_presence] Fix millis overflow in presence timeout check (#14293)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 15:08:04 -05:00
Jonathan Swoboda
d61e2f9c29 [light] Fix millis overflow in transition progress and flash timing (#14292)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 15:06:13 -05:00
Jonathan Swoboda
5dffceda59 [hmc5883l] Fix wrong gain for 88uT range (#14281)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 14:35:27 -05:00
Jonathan Swoboda
d1a636a5c3 [rtttl] Fix speaker playback bugs (#14280)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 14:34:38 -05:00
J. Nick Koston
1e70fe6589 Merge branch 'logger-mark-final' into integration 2026-02-25 12:33:16 -07:00
J. Nick Koston
925b34e2fb Merge branch 'mdns-mark-final' into integration 2026-02-25 12:33:09 -07:00
J. Nick Koston
bdf9c7473a Merge branch 'ota-mark-final' into integration 2026-02-25 12:33:04 -07:00
J. Nick Koston
f84e4b2697 Merge branch 'api-mark-iterators-final' into integration 2026-02-25 12:32:58 -07:00
J. Nick Koston
2a2f8a0b1e Merge branch 'web-server-mark-final' into integration 2026-02-25 12:32:50 -07:00
J. Nick Koston
c0cebdb65f Merge branch 'safe-mode-mark-final' into integration 2026-02-25 12:32:40 -07:00
Jonathan Swoboda
3f558f63d8 [bl0942] Fix millis overflow in packet timeout check (#14285)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 19:28:47 +00:00
Jonathan Swoboda
df77213f2c [shelly_dimmer] Fix millis overflow in ACK timeout check (#14288)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 19:27:00 +00:00
Jonathan Swoboda
e601162cdd [lcd_base] Fix millis() truncation to uint8_t (#14289)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 19:21:00 +00:00
Jonathan Swoboda
62da60df47 [ld2420] Fix sizeof vs value bug in register memcpy (#14286)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 19:19:20 +00:00
J. Nick Koston
ee01f897c1 [logger] Mark Logger and LoggerMessageTrigger as final
Neither class is subclassed. Marking them final enables the compiler
to devirtualize calls to the Component overrides (loop, dump_config,
get_setup_priority).
2026-02-25 12:08:32 -07:00
J. Nick Koston
67856ba565 [mdns] Mark MDNSComponent as final
MDNSComponent is never subclassed. Marking it final enables the
compiler to devirtualize calls to the Component overrides (setup,
dump_config, get_setup_priority, on_shutdown).
2026-02-25 12:07:01 -07:00
J. Nick Koston
99f713ccfd [ota] Mark OTA backend and component leaf classes as final
Mark all OTA leaf classes as final since none are subclassed:

Backends: IDFOTABackend, ESP8266OTABackend, ArduinoRP2040OTABackend,
ArduinoLibreTinyOTABackend, HostOTABackend

Components: ESPHomeOTAComponent, WebServerOTAComponent,
OtaHttpRequestComponent

This enables the compiler to devirtualize calls to the OTABackend
and Component overrides.
2026-02-25 12:05:17 -07:00
J. Nick Koston
0eb259495f [api] Mark ListEntitiesIterator and InitialStateIterator as final
Neither class is subclassed. Marking them final enables the compiler
to devirtualize calls to the many ComponentIterator overrides.
2026-02-25 12:02:38 -07:00
J. Nick Koston
7687e77442 [web_server] Mark classes as final
Mark WebServer, ListEntitiesIterator, DeferredUpdateEventSource, and
DeferredUpdateEventSourceList as final since none are subclassed.

This enables the compiler to devirtualize calls to the many virtual
overrides from Component, Controller, AsyncWebHandler, and
ComponentIterator.

Also remove the unnecessary virtual destructor from ListEntitiesIterator
since the class is now final and the base class (ComponentIterator) has
no virtual destructor.
2026-02-25 11:59:58 -07:00
J. Nick Koston
046b334a75 [safe_mode] Mark SafeModeComponent and SafeModeTrigger as final
Neither class is subclassed. Marking them final enables the compiler
to devirtualize calls to the Component overrides (loop, dump_config,
get_setup_priority, on_safe_shutdown).
2026-02-25 11:55:25 -07:00
J. Nick Koston
ff1289671e Merge remote-tracking branch 'upstream/dev' into integration 2026-02-25 11:46:16 -07:00
J. Nick Koston
8bb577de64 [api] Split ProtoVarInt::parse into 32-bit and 64-bit phases (#14039) 2026-02-25 12:23:13 -06:00
Thomas Rupprecht
ede8235aae [core] more accurate check for leap year and valid day_of_month (#14197)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-25 16:46:28 +00:00
Szpadel
37a0cec53d [ac_dimmer] Use a shared ESP32 GPTimer for multiple dimmers (#13523)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
2026-02-25 16:12:03 +00:00
J. Nick Koston
97ec64c8e0 Merge branch 'light-effect-index-codegen' into integration 2026-02-25 09:10:05 -07:00
esphomebot
78ab63581b Update webserver local assets to 20260225-155043 (#14275)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-25 16:09:45 +00:00
J. Nick Koston
9494d58e07 Merge remote-tracking branch 'upstream/dev' into integration 2026-02-25 09:06:07 -07:00
J. Nick Koston
1beeb9ab5c [web_server] Fix uptime display overflow after ~24.8 days (#13739) 2026-02-25 08:54:32 -07:00
Jonathan Swoboda
228874a52b [config] Improve dimensions validation and fix online_image resize aspect ratio (#14274)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 10:45:50 -05:00
Big Mike
bb05cfb711 [sensirion_common] Move sen5x's sensirion_convert_to_string_in_place() function to sensirion_common (#14269) 2026-02-25 07:34:58 -05:00
J. Nick Koston
b134c4679c [light] Replace std::lerp with lightweight lerp_fast in LightColorValues::lerp (#14238) 2026-02-24 22:33:57 -06:00
J. Nick Koston
427940f626 Add comment explaining empty capture in effect lambda wrapper 2026-02-24 22:33:20 -06:00
Jonathan Swoboda
2e705a919f [pid] Fix deadband threshold conversion for Fahrenheit (#14268)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-24 23:26:00 -05:00
J. Nick Koston
08c98e8229 Merge branch 'dev' into light-effect-index-codegen 2026-02-24 21:40:00 -06:00
J. Nick Koston
1dac501b04 [light] Add additional light effect test cases (#14266) 2026-02-24 21:39:51 -06:00
Jesse Hills
905e81330e Don't get stuck forever on a failed component can_proceed (#14267) 2026-02-25 03:28:19 +00:00
J. Nick Koston
2e8cc548de Merge branch 'light_tests_add' into light-effect-index-codegen 2026-02-24 20:40:22 -06:00