[api] Rename USE_API_SERVICES to USE_API_USER_DEFINED_ACTIONS (#12029)

This commit is contained in:
Jesse Hills
2025-11-24 08:13:23 +13:00
committed by GitHub
parent 3f6f2d7d65
commit a5751b294f
17 changed files with 38 additions and 38 deletions
+1 -1
View File
@@ -1541,7 +1541,7 @@ void APIConnection::on_home_assistant_state_response(const HomeAssistantStateRes
}
}
#endif
#ifdef USE_API_SERVICES
#ifdef USE_API_USER_DEFINED_ACTIONS
void APIConnection::execute_service(const ExecuteServiceRequest &msg) {
bool found = false;
for (auto *service : this->parent_->get_user_services()) {