J. Nick Koston
82da4935b6
[core] Auto-wrap static strings in PROGMEM on ESP8266 via TemplatableValue ( #13885 )
2026-03-02 06:57:08 -10:00
J. Nick Koston
5a07908dfa
[api] Fix build error when lambda returns StringRef in homeassistant.event data ( #14187 )
2026-02-21 13:54:20 -06:00
J. Nick Koston
e4ea016d1e
[ci] Block new std::to_string() usage, suggest snprintf alternatives ( #13369 )
2026-02-09 12:26:19 -06:00
J. Nick Koston
01ffeba2c2
[api] Avoid heap allocation for homeassistant action triggers ( #13695 )
2026-02-02 04:44:08 +01:00
J. Nick Koston and Copilot
912f94d1e8
[api] Use StringRef for HomeassistantServiceMap.value to eliminate heap allocations ( #13154 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-11 17:54:06 -10:00
J. Nick Koston
546cdbde0d
[api] Simplify string handling by removing bifurcated client/server storage ( #12822 )
2026-01-07 08:23:28 -10:00
J. Nick Koston
4cb066bcbf
[api] Use StringRef in handle_action_response to avoid temporary string ( #12655 )
2026-01-02 14:05:50 -10:00
J. Nick Koston
2c0f4d8f80
[api] Reduce heap usage for Home Assistant service call string storage ( #12151 )
2025-12-09 16:35:14 +01:00
J. Nick Koston
443f9c3f57
[api] Use StringRef for ActionResponse error message to avoid copy ( #12240 )
2025-12-09 16:10:43 +01:00
J. Nick Koston and Jesse Hills
1446e7174a
[core] Reduce action framework argument copies by 83% ( #11704 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-11-05 01:23:24 +00:00
J. Nick Koston
708f8a95e5
[api] Use FixedVector for HomeAssistantServiceCallAction to reduce flash usage and avoid realloc ( #11277 )
2025-10-16 02:48:38 +00:00
J. Nick Koston
c983581b6c
[api] Convert HomeassistantActionRequest vectors to FixedVector for flash savings ( #11229 )
2025-10-14 21:10:04 -05: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
63326cbd6d
[api] Rename HomeassistantServiceResponse to HomeassistantActionRequest ( #10839 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-09-23 17:58:24 -05:00
J. Nick Koston
1702356fc8
[api] Fix string lifetime issue in Home Assistant service calls with templated values ( #9909 )
2025-07-28 16:39:25 +12:00
J. Nick Koston
05f6d01cbe
[api] Add conditional compilation for Home Assistant service subscriptions ( #9900 )
2025-07-27 18:35:35 -10:00
J. Nick Koston
c74f12be98
[api] Use C++17 nested namespace syntax ( #9856 )
2025-07-24 07:15:42 +00:00
J. Nick Koston
99850255f0
[api] Use emplace_back for TemplatableKeyValuePair construction in HomeAssistant services ( #9804 )
2025-07-24 15:21:35 +12:00
J. Nick Koston and Jesse Hills
a614a68f1a
[api] Implement zero-copy string optimization for outgoing protobuf messages ( #9790 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-22 07:33:03 -10:00
J. Nick Koston and Copilot
fc1fd3f897
[api] Fix compilation error with char* lambdas in HomeAssistant services ( #9638 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-18 10:55:39 +12:00
J. Nick Koston
f4cd559a0b
Fix compilation error when using string lambdas with homeassistant services ( #9543 )
2025-07-17 09:02:32 +12:00
487e1f871f
use `encode_uintXX` ( #8847 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-11 17:06:45 +12:00
tomaszduda23
cbc03aae80
[code-quality] fix clang-tidy api ( #7279 )
2024-10-07 11:55:11 +13:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
Oxan van Leeuwen
499625f266
Convert is_callable to a backport of std::is_invocable ( #3023 )
2022-01-10 11:07:37 +13:00
Oxan van Leeuwen
c82d5d63e3
Move TemplatableValue helper class to automation.h ( #2511 )
2021-10-15 22:05:11 +02:00
Guillermo Ruffino
1bec1faf6d
lint
2020-05-24 23:27:28 -03:00
Andrew Zaborowski
a62b6548d2
Make some Action methods protected
...
Apparently play()/stop() etc. are not meant to be called directly by
users of the class and if they're called directly that would not give
the expected result for the classes that have an empty play().
Make all methods except play_complex, stop_comples and is_running
protected. While there also make RemoteTransmitterActionBase::encode
protected.
2020-05-01 12:44:30 +02:00
Otto Winter
369d175694
Create Protobuf Plugin for automatically generating native API stubs ( #633 )
...
* Create Protobuf Plugin for automatically generating native API stubs
* Format
* Delete api.proto
* Cleanup, use no_delay conditionally
* Updates
* Update
* Lint
* Lint
* Fixes
* Camera
* CustomAPIDevice
* Fix negative VarInt, Add User-defined services arrays
* Home Assistant Event
* Fixes
* Update custom_api_device.h
2019-06-18 19:31:22 +02:00