Energy Cost Calculation went haywire after 2022.8

Hello and welcome to the forum.

Please don’t post screen shots of configuration text. We can’t copy and edit those to help you. Paste the text correctly formatted.

This may not be your issue but you need to add availability templates to your template sensors.