Many energy suppliers offer variable tariffs that alter by time of day or by the spot price of the energy that they supply. Typical of this in the UK is Economy 7 which offered 7 hours of cheaper electricity over night and was used to run electrical storage heaters. It would be fairly simple to add an automation to use this to drive additional systems that could make use of this cheap electricity.
The issue is that every supplier offers different tariffs at different times of day with different costs and uses different naming conventions. Using this data in automations requires the creation of custom template sensors, and every HA user will create their own set of names for the tariffs. Itās horribly implementational.
What would be useful would be a generic entity called power mode that everyone could use and defined a set of standard charging rates e.g. Peak rate, Standard Rate, Low Cost Rate, Free rate (negatively priced) etc. This entity would allow standard energy management integrations to be made or easily added into existing systems. Changing suppliers would be a simple case of attaching the source of these integrations to the suppliers add on, everything else would be unchanged.