Missing database - where is it?

You must set the template to a value just below your current value. There are other alternatives. Show your whole template sensor configuration, correctly formatted, don’t post a picture of text.