You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found what needs to be done. We just need to add the correct self._attr_state_class to the entity class.
Home Assistant has support for storing sensors as long-term statistics if the entity has the right properties. To opt-in for statistics, the sensor must have state_class set to one of the valid state classes: measurement, total or total_increasing. For certain device classes, the unit of the statistics is normalized to for example make it possible to plot several sensors in a single graph.
Hi,
The new version on Home Assistant supports long term statistics. This would be an excellent feature for the ruuvi sensors:
https://developers.home-assistant.io/docs/core/entity/sensor#long-term-statistics
Is this already supported? I can't seem to add my ruuvi sensors to a history graph.
Regards,
Mattias
The text was updated successfully, but these errors were encountered: