Custom Sensor template error

this is the topic where i share all the data