Since 2021.8 there are long-term statistics in Home Assistant, but so far they support only a very few sensor types. You can try to enforce the long term statistics like it is described here: Benefit from long term statistics for any sensor
Anyway I think my approach would probably still be the most flexible solution. Especialy If you want to use your sensor values in other systems. For example grafana. You can also use Influxdb to store long-term information if you are more familiar and comfortable with it. But I prefer Timescaldb because I can do standard SQL queries and operations with it.
As a second aproach you can just increase your recorder purge interval and work with history stats sensors: History Stats - Home Assistant
Of course, you need to have enough storage capacity for this because it will now store all of your sensors for the longer purging interval. The recorder component is no good choice for storing long term data in my opinion.
The third option would be to possibly build something with multiple template and history stats sensors.
You could calculate the TV consumption per day and add this to a sensor with the total consumption, which in turn is summed with itself.
For example something like that: Calculate cumulative total sensor from daily total sensor - #6 by matys