sensible icon indicating copy to clipboard operation
sensible copied to clipboard

Numeric Sensor entity doesn't have properties necessary for long term statistics

Open gustavoholst opened this issue 1 year ago • 1 comments

Created a custom sensor to list CPU Percentage (for example: formatted as "6.5%"). Sensor works great and home assistant finds it just fine. However the entity is not recognized as a statistic that can be graphed. Home Assistant documentation suggested pointing you to https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics.

Could this be added as a feature? Perhaps a true/false setting in settings.yaml to enable long term statistics for the custom sensor?

So excited to find this! Was talking to a friend about needing this exactly at the same time you announced it.

Thanks!

gustavoholst avatar Mar 20 '23 05:03 gustavoholst