Closed yonz2 closed 2 years ago
I've tried setting the state class (STATE_CLASS_TOTAL), I wanted to set the device class as well (DEVICE_CLASS_MONETARY) but that combination is not allowed according to the documentation. But whatever I try I am not able to add it to a statistics card. Any ideas?
Not sure this can be done I don't really see the usecase
In order to display some statistics on the HA Dashboard, support for the HA Long term Statistcs function is needed. See also: https://www.home-assistant.io/more-info/statistics/ and https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics