Please ensure yaml files are formatted when posting to the forum. Also, if you would like assistance resolving template errors you should include the actual templates in your examples. Without enough data to reproduce the problem we will be unable to assist.