Current 'cost per hour' entity for all power entities

Rather than a card showing the current usage in Watts, I’d prefer it to show the current cost in €/hr. It might help the rest of the family to cut down on energy use if they see what it’s costing. If the dryer is using 500W, that means nothing to them.

How can I automatically generate a ‘cost_per_hour’ entity for each entity ending in ‘_power’ without having to do them all individually? I have an entity with the current tariff.

Nothing I know of writes template sensors automatically.

1 Like