This would be a solution whithin NR alone. It stores the state of the light you set, goes red and recovers after 5 seconds. Set your entity_id whithin the inject node for testing. Will work with on off states and will recover the color_temp.
[{"id":"abc695db.c4dd08","type":"api-current-state","z":"937ef78.ec6b408","name":"Get state","server":"9405c3fe.d0a6c","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"{{entity_id}}","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"for":0,"forType":"num","forUnits":"minutes","override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":240,"y":260,"wires":[["7aaa6b60.fbcaa4"]]},{"id":"b6218c4.ae5967","type":"inject","z":"937ef78.ec6b408","name":"","props":[{"p":"payload"},{"p":"entity_id","v":"light.your_light","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":90,"y":260,"wires":[["abc695db.c4dd08"]]},{"id":"7aaa6b60.fbcaa4","type":"change","z":"937ef78.ec6b408","name":"store brightness, color temp and service","rules":[{"t":"set","p":"payload.data.brightness","pt":"flow","to":"data.attributes.brightness","tot":"msg"},{"t":"set","p":"payload.data.color_temp","pt":"flow","to":"data.attributes.color_temp","tot":"msg"},{"t":"set","p":"payload.service","pt":"flow","to":"\"turn_\" & payload","tot":"jsonata"},{"t":"delete","p":"payload","pt":"msg"},{"t":"delete","p":"data","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":480,"y":260,"wires":[["d7868ab4.2997c8"]]},{"id":"d7868ab4.2997c8","type":"api-call-service","z":"937ef78.ec6b408","name":"red","server":"9405c3fe.d0a6c","version":3,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"{{entity_id}}","data":"{\"brightness_pct\": 50, \"color_name\": \"red\"}","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":730,"y":260,"wires":[["1f61c6da.c056c9"]]},{"id":"1f61c6da.c056c9","type":"delay","z":"937ef78.ec6b408","name":"","pauseType":"delay","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":870,"y":260,"wires":[["2410438e.b9892c"]]},{"id":"ea19ca0.48c5e38","type":"api-call-service","z":"937ef78.ec6b408","name":"","server":"9405c3fe.d0a6c","version":3,"debugenabled":false,"service_domain":"light","service":"","entityId":"{{entity_id}}","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1310,"y":260,"wires":[[]]},{"id":"2410438e.b9892c","type":"change","z":"937ef78.ec6b408","name":"brightness and color_temp recovery","rules":[{"t":"set","p":"payload.data.brightness","pt":"msg","to":"payload.data.brightness","tot":"flow"},{"t":"set","p":"payload.data.color_temp","pt":"msg","to":"payload.data.color_temp","tot":"flow"},{"t":"set","p":"payload.service","pt":"msg","to":"payload.service","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":1090,"y":260,"wires":[["ea19ca0.48c5e38"]]},{"id":"9405c3fe.d0a6c","type":"server","name":"Home Assistant","version":2,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30}]