Thank you @123 for point out that all values are strings.
My old tempalte config took this into account. Changed the new one to do the same without success.
Is there any kind of Debug function to understand what might be wrong?
Thank you @Ildar_Gabdullin
This was just the sinplet of my acutal config which is a dedicated file for the named sensor.
The file is sourced by the folloing string:
I have checked the Logs and did not see any Errors regarding the sensor. I used the Template Checker in the Dev-Tools and my state was working.
So it seems to be related to loading the config.
Neither the Config Checker nor the Studio Code Server indicated an issue of a missing “-” in front of the sensor
Adding the “-” fixed it. My Bad!
Learning: Never trust a working config check or an error free Stuido Code Server for getting a working config.
My configuration.yaml contains: template: !include_dir_merge_list cfg/template