Since these are a time series, you have to be careful. If both time series are increasing (or decreasing) over the year, a straight-up correlation will be misleading. That's how various websites show clever correlations between things like coffee production in Peru and movies in which Kevin Bacon starred. Have you looked at this question in this forum?
Would it be useful to aggregate to larger time periods? Have you already looked at the average usage per hour, per day, per month for each over the year? Are they reasonably close, just eyeballing it? Then there are tests for whether two groups have the same mean/variance, and it sounds like you have a paired example, that you can look at by week and by month.
There are also time-series-specific comparison methods, as pionpi_ says in their answer.
The key issue with time series is that they have autocorrelation: things tend to be the same from day to day and week to week, etc. If yesterday was hot, today will likely be hot. July temperatures are more like June temperatures than January temperatures. Etc. So each hour's electricity usage is not independent of the previous or next hour's usage.