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