Task: Turn off all the lights via Philips hue

n8n workflow:
{"id":"1","name":"turn off all lights","nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[250,300],"parameters":{},"typeVersion":1},{"name":"Philips Hue","type":"n8n-nodes-base.philipsHue","position":[520,300],"parameters":{"operation":"getAll","returnAll":true},"credentials":{"philipsHueOAuth2Api":"hue house"},"typeVersion":1},{"name":"Philips Hue1","type":"n8n-nodes-base.philipsHue","position":[1350,270],"parameters":{"on":false,"lightId":"={{$json[\"id\"]}}","additionalFields":{}},"credentials":{"philipsHueOAuth2Api":"hue house"},"retryOnFail":true,"typeVersion":1,"continueOnFail":true,"alwaysOutputData":true},{"name":"filter turned on reachable","type":"n8n-nodes-base.function","position":[920,310],"parameters":{"functionCode":"return items\n  .filter(light => light.json.reachable)\n  .filter(light => light.json.on)\n\n"},"typeVersion":1},{"name":"Parse","type":"n8n-nodes-base.function","position":[720,300],"parameters":{"functionCode":"const parse = ({ json }, id) => ({\n  json: {\n    on: json.state.on,\n    reachable: json.state.reachable,\n    updatable: json.swupdate.state !== \"noupdates\",\n    name: json.name,\n    uniqueid: json.uniqueid,\n    productid: json.productid,\n    id\n  }\n})\n\nconst lights = []\nlet i = 1\n\nreturn items.map(item => parse(item, i++))\n"},"typeVersion":1}],"active":false,"settings":{},"connections":{"Parse":{"main":[[{"node":"filter turned on reachable","type":"main","index":0}]]},"Philips Hue":{"main":[[{"node":"Parse","type":"main","index":0}]]},"On clicking 'execute'":{"main":[[{"node":"Philips Hue","type":"main","index":0}]]},"filter turned on reachable":{"main":[[{"node":"Philips Hue1","type":"main","index":0}]]}}}