Rule machine error

Started getting this error when trying to modify actions on only set of code.

I click the actions and the error pops up. All other scripts edit fine

Did you remove a device from your hub without removing it from the Rule first? The error is suggestive of that. A clone or export/import might save you (I'm thinking when it offers device selection replacements and it might catch this one), otherwise if you don't want to or can't restore a hub backup from before this time, re-creating the rule would work. This is definitely a problem with something in your specific rule and not a general Rule Machine problem, so it's not surprising your other rules are editable without problem.

Thanks

I did add a device to the hub and put it in this routine. When I went back to edit it I get the error

Not a big deal to recreate so I will start with that I guess