J. Nick Koston
8e02d0a20e
[fan] Store preset mode vector on Fan entity to eliminate heap allocation ( #15209 )
2026-04-09 10:25:37 +12:00
J. Nick Koston
dea8fdd906
[lock] Migrate LockStateTrigger to callback automation ( #15199 )
2026-03-27 08:20:35 -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
eeeae53f76
[fan] Return StringRef from get_preset_mode() for safety and modern API ( #13092 )
2026-01-11 17:40:09 -10:00
J. Nick Koston and Jonathan Swoboda
91c504061b
[select] Eliminate string allocation in state callbacks ( #12505 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2025-12-17 12:19:26 -10:00
J. Nick Koston
6f7e54c3f3
[select] Refactor to index-based operations for immediate and future RAM savings ( #11623 )
2025-11-05 11:33:01 +13:00
J. Nick Koston
885508775f
[fan] Remove duplicate preset mode storage to save RAM ( #11632 )
2025-11-05 10:55:37 +13:00
J. Nick Koston
41c073a451
[lock] Replace std::set with bitmask (saves 388B flash + 23B RAM per lock) ( #10977 )
2025-10-06 09:33:58 +13:00
J. Nick Koston
ed9850c4a4
Remove redundant get_setup_priority() overrides returning default value ( #9253 )
2025-06-29 13:46:28 -05:00
Jesse Hills
42c355e6d7
[fan] Update components to use `fan_schema(...)` ( #8786 )
2025-05-13 20:30:11 -05:00
Jesse Hills
a36e1aab8e
[cover] Update components to use `cover_schema(...)` ( #8770 )
2025-05-13 00:29:00 -05:00
e1732c4945
[lock] Move to use `lock_schema(..) instead of LOCK_SCHEMA` ( #8728 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-05-09 07:45:32 +00:00
Jesse Hills
ca221d6cb2
[text] Move to use `text_schema(..) instead of TEXT_SCHEMA` ( #8727 )
2025-05-09 01:24:34 -05:00
dependabot[bot]
4adda632bb
Bump ruff from 0.9.2 to 0.11.0 ( #8409 )
2025-03-20 09:51:23 -10:00
Tucker Kern and J. Nick Koston
ad79e4fe24
Add support for fan preset modes ( #5694 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2023-12-12 14:13:26 +09:00
e80bd8ed3d
Add text component ( #5336 )
...
Co-authored-by: Maurits <maurits@vloop.nl >
Co-authored-by: mauritskorse <mauritskorse@gmail.com >
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-10-25 22:00:32 +13:00
Alexander Momchilov and Jesse Hills
bef5b38d49
Add supports_stop trait to Cover ( #3897 )
...
* Add "stop" trait to Cover
* Add `supports_stop` to Cover protobuf msg
* Run `script/api_protobuf/api_protobuf.py`
... followed by `script/clang-format -i`
* Add `has_stop` field to template Cover
* Set `has_stop` during Cover codegen
* Set `supports_stop` trait on all other Cover types
* Bump APIVersion to 1.8
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-04-23 20:51:32 +00:00
Regev Brody
36c0e2416d
add select_schema to select component ( #4545 )
...
* add select_schema to select component
* add select_schema to select component
* fix cr
2023-03-26 20:01:35 +00:00
Regev Brody
72391389a3
add SUB_BUTTON macro and ability to button schema to define the class ( #4450 )
...
* add ability to button schema to define the class
* add SUB_BUTTON macro
2023-02-19 19:54:03 +00:00
Regev Brody
e68beb8a43
add SUB_NUMBER macro and schema to number ( #4449 )
...
* add SUB_NUMBER macro and schema
* add SUB_NUMBER macro and schema
* add SUB_NUMBER macro and schema
2023-02-19 19:54:00 +00:00
Jesse Hills
4d66fab360
Tidy up switch schemas ( #3754 )
2022-08-31 13:43:46 +12:00
Maurice Makaay and Maurice Makaay
44b68f140e
Select enhancement ( #3423 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net >
2022-05-10 16:41:16 +12:00
Otto Winter
f59dbe4a88
Add copy integration ( #3241 )
2022-02-21 09:13:37 +13:00