πΆ Cost sensors
Powercalc can now track how much your energy consumption costs. Enable create_cost_sensors globally (or create_cost_sensor per sensor) and set an energy price, and Powercalc creates a monetary cost sensor alongside each energy sensor, ready for your dashboards and the Home Assistant energy dashboard.
Highlights:
- Fixed or dynamic pricing β use a fixed energy_price, or point energy_price_sensor at a live tariff sensor (Nordpool, Tibber, Frank Energie, β¦). Dynamic prices are settled at the price that was active when the energy was consumed, so accumulated cost stays correct as the tariff changes.
- Surcharge & multiplier β add a per-kWh energy_price_surcharge (taxes, grid fees) and/or an energy_price_multiplier (e.g. 1.21 for 21% tax).
- Cost per utility meter β with utility meters enabled, you also get a cost sensor per cycle (daily, monthly, β¦) that resets together with its meter.
- Standalone cost sensors β create a cost sensor for any existing energy sensor, even one not created by Powercalc.
- Unit-aware β energy in Wh/MWh and prices in EUR/MWh etc. are automatically converted to per-kWh, and the cost sensor adopts the currency from your price sensor.
- Fully configurable via YAML and the GUI, with naming options (cost_sensor_naming / cost_sensor_friendly_naming).
π‘ Power profiles
- #4245 Extend precommit with more hooks @bramstroker
- #4250 Added Govee H14C0 @bcpearce
π Features
- #4241 Upgrade measure util to python 3.14 @bramstroker
- #4244 Issue a development release to ease installing development version for users @bramstroker
- #4245 Extend precommit with more hooks @bramstroker
- #4255 Bind group sensor to same area as configured @bramstroker
- #4260 Implement cost sensor @bramstroker
- #4261 Add reset and calibrate action for costs @bramstroker
- #4262 Add surcharge and multiplier setting for energy cost calculation @bramstroker
- #4264 Several improvements to cost sensors flow and provide onboardin⦠@bramstroker
- #4266 Cleanup and simplify logic related to device binding @bramstroker
- #4268 Add AI skill for translations @bramstroker
- #4265 Implement flow to setup cost sensor for existing energy sensor @bramstroker
- #4269 Auto convert non kWh energy sensors to kWh for cost calculation @bramstroker
- #4270 Divide some config dialogs into sections for readability @bramstroker
- #4272 Derive currency from energy price sensor @bramstroker
- #4273 Set last_reset attribute for cost sensors @bramstroker
- #4274 Refactor logic related to units and decimal parsing to common helpers @bramstroker
π Bug Fixes
- #4240 Fix fixed option flow not loading properly @bramstroker
- #4243 fix measure docker build @bramstroker
- #4251 Fix comment workflows @bramstroker
- #4256 Fix generate plots workflow @bramstroker
- #4259 Remove powercalc config entries from device @bramstroker
- #4275 Setting hass on template is not allowed anymore @bramstroker
- #4277 Cleanup duplication in energy sensor resolving @bramstroker
- #4280 Fix outlier filter not working properly @bramstroker
Supporters powering this project β‘ π
π 5 coffees
pinkfin
@Fakre
CloCkWeRX
and other legends
π₯ 3 coffees
Lara Wiz
@marek.riebmann
Stephan Ristow
and other legends
π₯ 2 coffees
@danielectronik
Sandro
Dale P
β 1 coffee
AdamWillis
Mauro T.
Rigo
and other legends
Support the project at https://buymeacoffee.com/bramski