{
"error": null,
"id": "_ID_",
"result": {
"_id": "5cf0dc8c7f000068d223e88a",
"name":"Switch on all lights",
"code": "require \"core\"\n local items = core.get_items()\n if items then \n \n for _, item in ipairs( items ) do\n core.set_item_value( item._id, true ) \n end\n end"
}
}