When creating a template sensor, there is no device class for entities that track cost / money / price. I think it would make sense to add this as many devices (like energy meters, water meters, etc.) can keep track of costs in some way.
I can see there is a deprecated monetary sensor device class, but for templating I think it would still make sense to add a class for providing a cost or currency value.
Where does it say monetary is depreciated? It’s still in the docs:
You’re correct, it is part of the sensor integration, but it seems to be missing from the templating functionality:
It’s called “Balance” in the UI. I saw that in another topic.
You can see that when “Balance” is used with an invalid state class.
Good call, thanks for pointing that out! In that case I think it’s really just the naming and / or documentation that needs updating.