In addition to the cost of electric and recovered value of sending power to grid. It would be nice to see the savings of the electric that was not purchased because it came from solar.
For example by house consumed 53kWh of power today, but I generated 45 kWh. In the energy dashboard I can see that my cost of the 9kWh from the electric company, and the value of the send to grid. But there is no value assigned to the 45kWh I generated
# Used to generate costs if stat_compensation is set to None
entity_energy_to: str | None # entity_id of an energy meter (kWh), entity_id of the energy meter for stat_energy_to
entity_energy_price: str | None # entity_id of an entity providing price ($/kWh)
number_energy_price: float | None # Price for energy ($/kWh)
Who wants to try it. If it works it probably will mess up the total.
I am really hoping for this. Maybe there is a way to implement it as a template sensor manually for now? But that is way outside my programming skills.