Jonathan Swoboda and dependabot[bot]
53b682e48f
[ci] Bump clang-tidy from 18.1.8 to 22.1.0.1 ( #16078 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-29 20:19:33 +00:00
Jonathan Swoboda
1a57d9bc2f
[sprinkler][pn532] Fix bugprone-unchecked-optional-access ( #16102 )
2026-04-29 01:04:19 +00:00
J. Nick Koston
d1aa1881bb
[core] Replace std::bind with lambdas across 13 components ( #14961 )
2026-03-19 08:42:26 -10:00
J. Nick Koston and Claude Opus 4.6
9371159a7e
[core] Replace custom esphome::optional with std::optional ( #14368 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-04 01:14:05 +00:00
J. Nick Koston
1f1b20f4fe
[core] Pack entity string properties into PROGMEM-indexed uint8_t fields ( #14171 )
2026-03-03 07:03:24 -10:00
6c253f0c71
[sprinkler] Fix millis overflow and underflow bugs ( #14299 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-02-26 08:40:43 -05:00
J. Nick Koston
e2fad9a6c9
[sprinkler] Convert state and request origin strings to PROGMEM_STRING_TABLE ( #13806 )
2026-02-10 13:55:01 -06:00
J. Nick Koston
18c152723c
[sprinkler] Avoid heap allocation for triggers ( #13705 )
2026-02-02 04:53:46 +01:00
J. Nick Koston
75a78b2bf3
[core] Encapsulate entity preference creation to prepare for hash migration ( #13505 )
2026-01-26 17:35:45 -10:00
J. Nick Koston
b5fe271d6b
[sprinkler] Disable loops when idle to reduce CPU overhead ( #13381 )
2026-01-19 17:36:47 -10:00
J. Nick Koston
5d787e2512
[sprinkler] Eliminate std::string heap allocations ( #13379 )
2026-01-19 17:35:58 -10:00
J. Nick Koston
535c3eb2a2
[sprinkler] Fix scheduler deprecation warnings and heap churn with FixedVector ( #13251 )
2026-01-15 11:32:02 -10:00
Keith Burzinski
08c0f65f30
[sprinkler] Remove internal latching valve support ( #12603 )
2025-12-22 14:13:18 -05:00
Keith Burzinski
2113858f89
[sprinkler] Squash a few bugs + minor optimization ( #12436 )
2025-12-21 02:45:24 -06:00
J. Nick Koston
00c0854323
[core] Deprecate get_icon(), get_device_class(), get_unit_of_measurement() and fix remaining non-MQTT usages ( #11732 )
2025-11-05 12:50:35 -06:00
J. Nick Koston and Copilot
d2752b38c9
[core] Fix preference storage to account for device_id ( #10333 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-25 12:22:16 +12:00
J. Nick Koston
c0b05ada1a
Reduce ESP_LOGCONFIG calls ( #9026 )
2025-06-09 00:02:30 +00:00
J. Nick Koston
574aabdede
Reduce number of calls to fetch time in the main loop ( #8804 )
2025-05-19 07:48:57 +12:00
Juan Jose Restrepo
4d7c6b28e1
Update sprinkler.cpp ( #7996 )
2025-01-10 17:22:30 -06:00
Keith Burzinski
3730b0310b
[sprinkler] clang-tidy fixes for #7822 ( #7857 )
2024-11-27 07:07:36 +13:00
tomaszduda23
9a9757ddeb
[code-quality] fix clang-tidy sprinkler ( #7222 )
...
* fix clang-tidy
* fix build error
* clang-tidy
* clang-tidy
2024-08-07 19:29:32 -05:00
DAVe3283 and Jesse Hills
e0cee472c3
Fix compile with latest esp-idf on esp32c6 ( #5677 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-11-05 23:13:01 +00:00
Ilia Sotnikov
c65d78f568
[Sprinkler] Initialize timers early to avoid crash ( #5499 )
2023-10-08 22:37:48 -05:00
Ilia Sotnikov
508392db6e
[Sprinkler] Resume fixes ( #5100 )
2023-07-16 15:28:31 -05:00
Keith Burzinski
c61a3bf431
Sprinkler fixes ( #4816 )
2023-05-18 11:36:52 +12:00
Keith Burzinski
c2a43c733a
Fix sprinkler switch restore_mode ( #4756 )
2023-05-01 07:52:05 +12:00
d52e425ba2
Remove EntityBase from sprinkler ( #4606 )
...
* Remove EntityBase form sprinkler
* remove unneeded method
* Set name correctly
Move some timers to `setup` that rely on this->name_
* Fix SprinklerControllerSwitch setup
* Update esphome/components/sprinkler/__init__.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
---------
Co-authored-by: Samuel Sieb <samuel-github@sieb.net >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2023-03-22 07:35:16 +00:00
Keith Burzinski
d3f2b93c42
Remove switch actions during config; bump setup priority ( #4563 )
2023-03-15 05:21:23 +00:00
Keith Burzinski
98b3d294aa
Sprinkler "v2" updates ( #4159 )
...
* Add standby switch
* Add support for arbitrary run duration in start_single_valve action
* Add divider feature
* Allow zero multiplier
* Fixes for #3740 , misc. cleanup and polishing
* Integrate number components for multiplier, repeat and run duration
* Add various methods to get time remaining
* Add next_prev_ignore_disabled flag
* Optimize next/previous valve selection methods
* Add numbers_use_minutes flag
* Initialize switch states as they are set up
* Ensure SprinklerControllerSwitch has state if it's not restored
* Add repeat validation
* Misc. clean-up and tweaking
* Fix bugprone-integer-division
* More clean-up
* Set entity_category for standby_switch
* Set default entity_category for numbers
* More housekeeping
* Add run request tracking
* Fix time remaining calculation
* Use native unit_of_measurement for run duration numbers
* Unstack some ifs
2023-02-22 01:47:50 +00:00
Keith Burzinski
ab8674a5c7
Make sprinkler reset_resume() method public ( #3824 )
2022-09-20 13:02:55 +12:00
Keith Burzinski and Jesse Hills
e2cddf1005
Sprinkler controller component ( #2249 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-08-09 12:19:42 +12:00