I noticed that the integration ‘unitlity meter’ does take into account device_class ‘energy’ (example in snapshot)
But it does not take into account device_class ‘monetary’
This gives odd results in Lovelace
- with device class Lovelace will format the value according to the local standard
- without device class Lolelace will show the value unformated
For the time being I created a template sensor, representing the daily value, but adding the device_class.