Hello AK,
First device_id’s do not work with templates in 99% of all cases, so use entity_id’s.
Can you share all the yaml. I don’t even know what kind of blueprint that is.
Please share the YAML and any errors so we can see what you’ve done.
You can use the </> button like this… How to format your code in forum posts
OR… Here is an example of how to fix it from the site FAQ Page.
How to help us help you - or How to ask a good question.