I think this could work.
I have replaced device nodes with inject nodes because they wont be imported correctly anyways, but just replace them with device nodes set to what the inject says.
[{"id":"96bcbdbc741846ae","type":"inject","z":"ebaa69a9.649708","name":"left","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":900,"wires":[["816d530237c78286"]]},{"id":"911dca1d344fa08e","type":"inject","z":"ebaa69a9.649708","name":"right","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":960,"wires":[["23c83c044a41d038"]]},{"id":"816d530237c78286","type":"change","z":"ebaa69a9.649708","name":"","rules":[{"t":"set","p":"light","pt":"flow","to":"light.coffe","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":900,"wires":[[]]},{"id":"23c83c044a41d038","type":"change","z":"ebaa69a9.649708","name":"","rules":[{"t":"set","p":"light","pt":"flow","to":"light.owl","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":330,"y":960,"wires":[[]]},{"id":"db480f080ad6a430","type":"change","z":"ebaa69a9.649708","name":"","rules":[{"t":"set","p":"hold_down","pt":"flow","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":1200,"wires":[["46a99cbc4f7b4efc"]]},{"id":"46a99cbc4f7b4efc","type":"api-current-state","z":"ebaa69a9.649708","name":"","server":"4bbca37b.1700ec","version":2,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"{{flow.light}}","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":1110,"y":1200,"wires":[["2872d8e5f1ac5127"]]},{"id":"ec5a14db5927710a","type":"api-call-service","z":"ebaa69a9.649708","name":"","server":"4bbca37b.1700ec","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"{{flow.light}}","data":"{\t \"brightness\": msg.data.attributes.brightness\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1570,"y":1200,"wires":[["e09e1071ade9c31a"]]},{"id":"e09e1071ade9c31a","type":"delay","z":"ebaa69a9.649708","name":"","pauseType":"delay","timeout":"100","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1770,"y":1200,"wires":[["69c26b69e3cd2007"]]},{"id":"69c26b69e3cd2007","type":"switch","z":"ebaa69a9.649708","name":"","property":"hold_down","propertyType":"flow","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":1110,"y":1120,"wires":[["46a99cbc4f7b4efc"]]},{"id":"a3c431606152051e","type":"change","z":"ebaa69a9.649708","name":"","rules":[{"t":"set","p":"hold_down","pt":"flow","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":1140,"wires":[[]]},{"id":"22ecb8e69b338888","type":"change","z":"ebaa69a9.649708","name":"","rules":[{"t":"set","p":"hold_up","pt":"flow","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":560,"y":1400,"wires":[["44036526d2a5d765"]]},{"id":"ba8eba367071d402","type":"api-current-state","z":"ebaa69a9.649708","name":"","server":"4bbca37b.1700ec","version":2,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"{{flow.light}}","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":1210,"y":1400,"wires":[["7ef5423af353569f"]]},{"id":"e5e889d3d74b2444","type":"api-call-service","z":"ebaa69a9.649708","name":"","server":"4bbca37b.1700ec","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"{{flow.light}}","data":"{\t \"brightness\": msg.data.attributes.brightness\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1690,"y":1400,"wires":[["e132fd2c25d79ac7"]]},{"id":"e132fd2c25d79ac7","type":"delay","z":"ebaa69a9.649708","name":"","pauseType":"delay","timeout":"100","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1890,"y":1400,"wires":[["9e5a74e1c2408a8b"]]},{"id":"9e5a74e1c2408a8b","type":"switch","z":"ebaa69a9.649708","name":"","property":"hold_up","propertyType":"flow","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":1230,"y":1320,"wires":[["ba8eba367071d402"]]},{"id":"81b8517c400ca25d","type":"change","z":"ebaa69a9.649708","name":"","rules":[{"t":"set","p":"hold_up","pt":"flow","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":400,"y":1340,"wires":[[]]},{"id":"2872d8e5f1ac5127","type":"function","z":"ebaa69a9.649708","name":"","func":"msg.data.attributes.brightness = Math.max(msg.data.attributes.brightness-6, 5); \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1380,"y":1200,"wires":[["ec5a14db5927710a"]]},{"id":"7ef5423af353569f","type":"function","z":"ebaa69a9.649708","name":"","func":"msg.data.attributes.brightness = Math.min(msg.data.attributes.brightness+6, 255); \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1500,"y":1400,"wires":[["e5e889d3d74b2444"]]},{"id":"3384d07f2daa7944","type":"api-call-service","z":"ebaa69a9.649708","name":"","server":"4bbca37b.1700ec","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"{{flow.light}}","data":"{\t \"brightness\": 5\t}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1250,"y":1500,"wires":[["e50c3234e16fa6cb"]]},{"id":"e50c3234e16fa6cb","type":"delay","z":"ebaa69a9.649708","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1760,"y":1500,"wires":[["e132fd2c25d79ac7"]]},{"id":"44036526d2a5d765","type":"api-current-state","z":"ebaa69a9.649708","name":"","server":"4bbca37b.1700ec","version":2,"outputs":2,"halt_if":"on","halt_if_type":"str","halt_if_compare":"is","entity_id":"{{flow.light}}","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":850,"y":1400,"wires":[["ba8eba367071d402"],["3384d07f2daa7944"]]},{"id":"29ffa364e9aebca1","type":"delay","z":"ebaa69a9.649708","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"2","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"allowrate":false,"outputs":1,"x":360,"y":1400,"wires":[["22ecb8e69b338888"]]},{"id":"0f68f09a45d4220e","type":"comment","z":"ebaa69a9.649708","name":"change to actual entity names","info":"","x":360,"y":840,"wires":[]},{"id":"22f23aabfa9faddf","type":"inject","z":"ebaa69a9.649708","name":"device, small sun release","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":150,"y":1140,"wires":[["a3c431606152051e"]]},{"id":"501f674330724ab3","type":"inject","z":"ebaa69a9.649708","name":"device, small sun hold","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":160,"y":1200,"wires":[["db480f080ad6a430"]]},{"id":"9bbba7592e0a0f4b","type":"inject","z":"ebaa69a9.649708","name":"device, large sun release","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":1340,"wires":[["81b8517c400ca25d"]]},{"id":"2ee9ccff068e746e","type":"inject","z":"ebaa69a9.649708","name":"device, large sun hold","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":160,"y":1400,"wires":[["29ffa364e9aebca1"]]},{"id":"4bbca37b.1700ec","type":"server","name":"Home Assistant","version":1,"legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]