Jonathan Swoboda and Copilot
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
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 and Claude Opus 4.6
3460a8c922
[dlms_meter/kamstrup_kmp] Replace powf with pow10_int ( #14125 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-25 13:44:50 +13:00
J. Nick Koston and pre-commit-ci-lite[bot]
2ff876c629
[core] Use custom deleter for SchedulerItem unique_ptr to prevent destructor inlining ( #14258 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-25 13:18:44 +13:00
J. Nick Koston
08dc487b5b
[core] Pass std::function by rvalue reference in scheduler ( #14260 )
2026-02-25 13:08:07 +13:00
J. Nick Koston
4dc6b12ec5
[api] Pass std::function by rvalue reference in state subscriptions ( #14261 )
2026-02-25 12:56:43 +13:00
J. Nick Koston
cca4777f64
[web_server_idf] Pass std::function by rvalue reference ( #14262 )
2026-02-25 12:51:01 +13:00
Andrew Rankin
af00d601be
[esp32_ble_server] add max_clients option for multi-client support ( #14239 )
2026-02-25 08:19:13 +11:00
Jonathan Swoboda and Copilot
fe3c2ba555
[http_request.ota] Percent-encode credentials in URL ( #14257 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-24 14:15:22 -05:00
J. Nick Koston
6554ad7c7e
[core] Prevent inlining of mark_matching_items_removed_locked_ on Thumb-1 ( #14256 )
2026-02-24 12:08:51 -06:00
Clyde Stubbs
4abbed0cd4
[mipi_dsi] Allow transform disable; fix warnings ( #14216 )
2026-02-24 08:33:33 -05:00
H. Árkosi Róbert and pre-commit-ci-lite[bot]
72263eda85
[version] text sensor add option hide_hash to restore the pre-2026.1 behavior ( #14251 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-24 07:31:58 -06:00
Jonathan Swoboda and Copilot
abf7074518
[esp32] Improve ESP32-P4 engineering sample warning message ( #14252 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-24 08:27:48 -05:00
J. Nick Koston
ad2da0af52
[network] Use C++17 nested namespace syntax ( #14248 )
2026-02-24 02:00:21 +00:00
J. Nick Koston
7d9d90d3f8
[cse7766] Use C++17 nested namespace syntax ( #14247 )
2026-02-23 20:50:22 -05:00
J. Nick Koston
70e47f301d
[ethernet] Use C++17 nested namespace syntax ( #14246 )
2026-02-23 20:50:11 -05:00
J. Nick Koston
1614eb9c9c
[i2c] Use C++17 nested namespace syntax ( #14245 )
2026-02-23 20:50:00 -05:00
J. Nick Koston
a694003fe3
[usb_host] Use C++17 nested namespace syntax ( #14244 )
2026-02-23 20:49:48 -05:00
J. Nick Koston
500aa7bf1d
[text_sensor] Use C++17 nested namespace syntax ( #14243 )
2026-02-23 20:49:35 -05:00
J. Nick Koston
63c1496115
[text] Use C++17 nested namespace syntax ( #14242 )
2026-02-23 20:49:25 -05:00
J. Nick Koston
843d06df3f
[switch] Use C++17 nested namespace syntax ( #14241 )
2026-02-23 20:49:15 -05:00
J. Nick Koston
30cc51eac9
[version] Use C++17 nested namespace syntax ( #14240 )
2026-02-23 20:49:00 -05:00
Jonathan Swoboda and Copilot
ebf1047da7
[core] Move build_info_data.h out of application.h to fix incremental rebuilds ( #14230 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-23 18:51:56 -05:00
J. Nick Koston and Claude Opus 4.6
869678953d
[core] Add pow10_int helper, replace powf in normalize_accuracy and sensor filters ( #14114 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-24 12:03:24 +13:00
J. Nick Koston
0aa43b0c4f
tweak
2026-02-23 16:51:46 -06:00
J. Nick Koston
28c6fbdc9e
[api] Mark timezone string field as deprecated in GetTimeResponse
...
parsed_timezone struct should be used instead. The string field will be
removed before 2027.1.0.
2026-02-23 16:50:53 -06:00
J. Nick Koston
b4817c424d
[api] Skip timezone update when parsed struct is not populated
...
Old clients (before 2026.3.0) send only the timezone string without the
parsed_timezone struct, so all fields default to zero. Without this check,
the device would overwrite its codegen-configured timezone with UTC.
Keep the codegen timezone when the struct is unpopulated (all zeros).
For actual UTC this also skips, which is harmless since UTC is the default.
2026-02-23 16:49:29 -06:00
J. Nick Koston
199288b813
[time] Fix test namespace for RecalcTimestampLocal and TimezoneOffset tests
...
Move tests that use make_us_central(), set_global_tz(), ParsedTimezone,
and DSTRuleType into esphome::time::testing namespace where those symbols
are declared.
2026-02-23 16:41:20 -06:00
J. Nick Koston
8374ccf7b5
[time] Remove C++ POSIX TZ string parser (bridge code)
...
Remove the runtime POSIX TZ string parser and all associated bridge code
now that timezone data is sent as pre-parsed structs via protobuf.
Removed:
- parse_posix_tz() and internal parsing helpers (skip_tz_name, parse_offset,
parse_dst_rule, parse_uint, parse_transition_time)
- RealTimeClock::set_timezone() overloads and apply_timezone_()
- API connection fallback path for string-based timezone
Kept:
- All conversion functions (epoch_to_local_tm, is_in_dst, calculate_dst_transition)
- Internal helpers used by conversion functions
- localtime_r/localtime overrides
- Tests for all permanent functions
2026-02-23 16:34:14 -06:00
J. Nick Koston and Claude Opus 4.6
a757838408
[time] Wrap codegen timezone fields in scope block
...
Fixes redeclaration error when multiple time platforms are in the
same build by wrapping the local ParsedTimezone variable in a scope block.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 15:49:35 -06:00
J. Nick Koston
4b400aa79a
avoid ram increase
2026-02-23 15:42:39 -06:00
James Myatt
4a52900352
[nfc] Fix logging tag for nfc helpers ( #14235 )
2026-02-23 21:16:32 +00:00
J. Nick Koston
ba11722e77
[time] Skip POSIX TZ validation for empty timezone strings
...
Empty timezone strings are valid (meaning UTC/no timezone).
The parse_posix_tz_python() validation should only run on
non-empty strings.
2026-02-23 15:00:25 -06:00
J. Nick Koston
49ddaa2002
Merge branch 'posix_tz' into posix_tz_proto
2026-02-23 14:49:09 -06:00
J. Nick Koston
1a99abc629
[time] Add context to test file about bridge code removal timeline
2026-02-23 14:45:37 -06:00
J. Nick Koston
f95d8a33e2
Merge branch 'posix_tz' into posix_tz_proto
2026-02-23 14:44:14 -06:00
J. Nick Koston
de01d766f1
[time] Mark posix_tz parser as bridge code to remove before 2026.9.0
...
The C++ POSIX TZ string parser is only needed for backward compatibility
with older Home Assistant clients that send the timezone as a string.
Once all clients send the pre-parsed ParsedTimezone protobuf struct,
the parser and its helpers can be removed entirely.
See https://github.com/esphome/backlog/issues/91
2026-02-23 14:43:57 -06:00
J. Nick Koston
db6db5fb10
merge proto
2026-02-23 14:25:57 -06:00
J. Nick Koston
9e8efe15d3
Merge branch 'dev' into posix_tz
2026-02-23 14:25:26 -06:00
tomaszduda23
02c37bb6d6
[nrf52,logger] generate crash magic in python ( #14173 )
2026-02-23 20:23:40 +00:00
dependabot[bot]
918bbfb0d3
Bump aioesphomeapi from 44.0.0 to 44.1.0 ( #14232 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-23 20:22:32 +00:00
tomaszduda23
063c6a9e45
[esp32,core] Move CONF_ENABLE_OTA_ROLLBACK to core ( #14231 )
2026-02-23 20:06:20 +00:00
daee71a2c1
[http_request] Retry update check on startup until network is ready ( #14228 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-23 14:21:29 -05:00
Jonathan Swoboda and Copilot
0d32a5321c
[remote_transmitter/remote_receiver] Rename _esp32.cpp to _rmt.cpp ( #14226 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-23 13:46:53 -05:00
J. Nick Koston
5e95b9b36c
Merge branch 'dev' into posix_tz
2026-02-23 12:45:16 -06:00
J. Nick Koston
e199145f1c
[core] Avoid expensive modulo in LockFreeQueue for non-power-of-2 sizes ( #14221 )
2026-02-23 12:20:55 -06:00
1f945a334a
[hdc302x] Add new component ( #10160 )
...
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>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-02-23 12:01:23 -05:00
Jonathan Swoboda and Claude Opus 4.6
fb6c7d81d5
[core] Fix multiline log continuations without leading whitespace ( #14217 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 05:08:40 +00:00
J. Nick Koston
417f4535af
[logger] Use subtraction-based line number formatting to avoid division ( #14219 )
2026-02-23 04:25:20 +00:00