[{"id":"f1c36b8e18a8b9cb","type":"inject","z":"120358abd7c22d30","name":"fake getting scene from select","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"(\t $scenes := [\"first\", \"second\", \"third\"];\t $selectedScene := $shuffle($scenes);\t {\t \"target\": {\t \"entity_id\": [\"scene.\" & $selectedScene[0]]\t } \t }\t)","payloadType":"jsonata","x":368,"y":3600,"wires":[["02a8dfbfe3db28fe"]]},{"id":"02a8dfbfe3db28fe","type":"api-call-service","z":"120358abd7c22d30","name":"","server":"","version":5,"debugenabled":true,"domain":"scene","service":"turn_on","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":624,"y":3600,"wires":[[]]},{"id":"644d24549882dc98","type":"inject","z":"120358abd7c22d30","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":308,"y":3664,"wires":[["e82e491ae704cc44"]]},{"id":"e82e491ae704cc44","type":"api-current-state","z":"120358abd7c22d30","name":"","server":"","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"input_select.scenes","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"{\t \"target\": {\t \"entity_id\": [\"scene.\" & $entity().state]\t } \t}","valueType":"jsonata"}],"for":"0","forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":540,"y":3664,"wires":[["c982ac754d7140ea"]]},{"id":"c982ac754d7140ea","type":"api-call-service","z":"120358abd7c22d30","name":"","server":"","version":5,"debugenabled":true,"domain":"scene","service":"turn_on","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":816,"y":3664,"wires":[[]]}]