I need something like this:
[{"id":"700537048f589adb","type":"api-current-state","z":"fb8b375d.bdd7e","name":"input_datetime.on","server":"1c1ccadc.716d65","version":2,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":420,"y":720,"wires":[["e718c351e006d310"]]},{"id":"e718c351e006d310","type":"api-current-state","z":"fb8b375d.bdd7e","name":"input_datetime.off","server":"1c1ccadc.716d65","version":2,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":650,"y":720,"wires":[[]]},{"id":"aba8d4b5fdc3e39b","type":"inject","z":"fb8b375d.bdd7e","name":"Ć” 6 min.","props":[{"p":"payload"}],"repeat":"360","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":200,"y":720,"wires":[["700537048f589adb"]]},{"id":"1c1ccadc.716d65","type":"server","name":"Dubak_HAss","version":1,"legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]