@nappyjim Here ya go
[{"id":"2436f4ef.69311c","type":"comment","z":"f2d34151.9da47","name":"power off all lights which are on ","info":"","x":450,"y":1340,"wires":[]},{"id":"2d9d9aa.d38b966","type":"api-call-service","z":"f2d34151.9da47","name":"Turn Them Off","server":"8883c5ea.5f6948","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"{{payload.entity_id}}","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":700,"y":1380,"wires":[[]]},{"id":"f35d4fab.7185e","type":"ha-get-entities","z":"f2d34151.9da47","server":"8883c5ea.5f6948","name":"Get Lights That are On","rules":[{"property":"entity_id","logic":"starts_with","value":"light","valueType":"str"},{"property":"state","logic":"is","value":"on","valueType":"str"}],"output_type":"split","output_empty_results":false,"output_location_type":"msg","output_location":"payload","output_results_count":1,"x":480,"y":1380,"wires":[["2d9d9aa.d38b966"]]},{"id":"640dbb2b.ae9de4","type":"inject","z":"f2d34151.9da47","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":300,"y":1380,"wires":[["f35d4fab.7185e"]]},{"id":"8883c5ea.5f6948","type":"server","name":"HA Main","legacy":false,"addon":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true}]
and a little bonus if you have an amazon echo
[{"id":"d14c40bb.b49a4","type":"ha-get-entities","z":"f2d34151.9da47","server":"8883c5ea.5f6948","name":"","rules":[{"property":"entity_id","logic":"starts_with","value":"light","valueType":"str"},{"property":"state","logic":"is","value":"on","valueType":"str"}],"output_type":"split","output_empty_results":false,"output_location_type":"msg","output_location":"payload","output_results_count":1,"x":270,"y":200,"wires":[["363d2533.22d05a"]]},{"id":"363d2533.22d05a","type":"template","z":"f2d34151.9da47","name":"Format Friendly Name","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"{{payload.attributes.friendly_name}}","output":"str","x":460,"y":200,"wires":[["f2edc82b.46ce58"]]},{"id":"f2edc82b.46ce58","type":"join","z":"f2d34151.9da47","name":"","mode":"custom","build":"array","property":"payload","propertyType":"msg","key":"topic","joiner":",","joinerType":"str","accumulate":false,"timeout":"","count":"","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":650,"y":200,"wires":[["c804e3f.f6c512","2a305b.fa1abfa6"]]},{"id":"937c657d.e7c228","type":"inject","z":"f2d34151.9da47","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":280,"y":260,"wires":[["d14c40bb.b49a4"]]},{"id":"2a305b.fa1abfa6","type":"api-call-service","z":"f2d34151.9da47","name":"Alexa Speak -New TTS- not Announce - No Bell","server":"8883c5ea.5f6948","version":1,"debugenabled":false,"service_domain":"notify","service":"alexa_media_living_room_echo","entityId":"","data":"{\"message\":\"The {{payload}} .are on.\",\"title\":\"Left Open\",\"data\":{\"type\":\"tts\",\"method\":\"all\"},\"target\":[\"media_player.living_room_echo4\"]}","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":860,"y":240,"wires":[[]]},{"id":"8883c5ea.5f6948","type":"server","name":"HA Main","legacy":false,"addon":false,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true}]