How to create daily energy sensor

Use the utility meter helper with a daily cycle: