Skip to content

Home Assistant Template Sensor for PGE EV2-A Rate Plan

I wanted to implement a sensor to tell me what the current price per kW is for any time of day.

My rate plan is Home Charging EV2-A and needs to account for the season and several hour-of-day checks to select the correct price. So here is the template sensor I’ve created:

Credit to this post for the bones of the sensor logic.

Published inHome AssistantHome Automation