Change getTemplateName for template

After this change, the module works with pimatic 0.8.6