Would you mind adding a common device class for entities to make it easier to group them with other financial entities?
I would propose to add to your entity.
self._attr_device_class = SensorDeviceClass.MONETARY
ALso i think that
self._unit_of_measurement
should probably be currency_name
Would you mind adding a common device class for entities to make it easier to group them with other financial entities? I would propose to add to your entity.
self._attr_device_class = SensorDeviceClass.MONETARY
ALso i think thatself._unit_of_measurement
should probably be currency_name