I think it would be very useful to set tariffs directly in the Energy Dashboard using a “tariff entity,” similar to how the “energy cost entity” works.
A tariff entity would return the current tariff (e.g., Peak, Off-Peak, Eco…), and the Energy Dashboard could group consumption (and costs) accordingly.
I use different “Grid consumption” sensors for that and don’t add total sensor to the dashboard. It works fine for the total usage but there is now way to see single device usage during different tariffs that would be really cool. Especially when some devices like EV chargers or heating devices use tariff based automation.