Service IDs don't match script IDs

I created several scripts to clean seperate rooms with my roborock, but I was not very clean in the set up process and they had fairly sporadic ids. I got the entity_ids of the scripts themselves resolved, but when I try to call the service with them, it still has the old messed up ids. This has become important as I’m trying to call them via a template with a predictable id pattern.

Screengrab from the States dev tool screen (correct ids)

Screengrab from the Services dev tool screen (old and messed up ids)

Is there any way to force a refresh of service ids? They seem to persist through reboots and config reloads.