There clearly is, because the code you’ve posted has…
when that should be TEMPLATE name, not DEVICE name and your compiler error message is telling you exactly that…
Anyone else having this error messaage shluld read this topic…
@wmklmr’s issue falls into scenario 3 in that topic.
Pete.