Utility Meter and device class

I noticed that the integration ‘unitlity meter’ does take into account device_class ‘energy’ (example in snapshot)

afbeelding

But it does not take into account device_class ‘monetary’

afbeelding

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

afbeelding

For the time being I created a template sensor, representing the daily value, but adding the device_class.