- A sensor that expose the current month power consuption (kWh);
For "Flex rates":
- A sensor that expose the current rate (F1, F2, F3), like "sensor.pun_fascia_corrente" from Prezzi PUN del mese;
For "PUN" based rate/rates:
- A sensor that expose the current rate price (€/kWh), like "sensor.pun_prezzo_fascia_corrente" from Prezzi PUN del mese;
Using HACS
- Go to HACS section;
- From the 3 dots menu (top right) click on Add custom repository;
- Add as Integration this url https://github.com/andreadegiovine/homeassistant-energy-cost;
- Search and install Energy cost from the HACS integration list;
- Add this integration from the Home Assistant integrations.
- Download this repository;
- Copy the directory custom_components/energy_cost on your Home Assistant config/custom_components/energy_cost;
- Restart HomeAssistant;
- Add this integration from the Home Assistant integrations.
In this case the "Mono rate" field contain the extra charge price on PUN base price.
In this case "F1 rate", "F2 rate" and "F3 rate" fields contains the extra charge price on PUN base price.
Total kWh cost including all costs and taxs.
"Net cost" = energy cost.
"Real cost" = energy cost + management costs.
Current month total cost including all costs and taxes.
"Total kWh cost" = monthly total cost / energy