mirror of
https://github.com/esphome/esphome.git
synced 2025-10-28 05:33:53 +00:00
Merge branch 'pr/balrog-kun/1004' into dev
This commit is contained in:
@@ -29,6 +29,7 @@ template<typename... Ts> class HomeAssistantServiceCallAction : public Action<Ts
|
||||
template<typename T> void add_variable(std::string key, T value) {
|
||||
this->variables_.push_back(TemplatableKeyValuePair<Ts...>(key, value));
|
||||
}
|
||||
|
||||
void play(Ts... x) override {
|
||||
HomeassistantServiceResponse resp;
|
||||
resp.service = this->service_.value(x...);
|
||||
|
||||
Reference in New Issue
Block a user