server/services/google-actions/lib/smarthome/googleActions.onExecute.js
Function onExecute
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function onExecute(body) {
const commands = [];
const inputCommands = body.inputs
.filter((input) => input.payload)