Error when trying to read custom device tags

Eden, please see Wiki - how to post code on this forum. (You've posted your error log as a quotation instead of preformatted text. The preformatted text option limits the length of your post by adding a scroll bar to the text block and keeps the forum tidy.)