Another thing to check if sensor isn't listed (#35432)

* Another thing to check if sensor isn't listed

It sounds kind of obvious, but it caught me for a while, so I thought it might be useful for others.

* Update statistics.markdown
This commit is contained in:
bdnstn 2024-11-04 21:42:38 +08:00 committed by GitHub
parent 2159a12c37
commit f6bb0af54c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,10 @@ title: "Expected data source not listed"
description: "More information on if your expected data source is not listed."
---
You're configuring a statistic but you couldn't find your source in the dropdown? That's caused by a bug in the integration providing the entity. Integrations need to configure their entities correctly so Home Assistant knows that we need to track statistics for it and how.
You're configuring a statistic but you couldn't find your source in the dropdown?
Check that it hasn't been excluded in the [Recorder](https://www.home-assistant.io/integrations/recorder/) configuration.
Otherwise, It's caused by a bug in the integration providing the entity. Integrations need to configure their entities correctly so Home Assistant knows that we need to track statistics for it and how.
Open an issue with the author of the integration and link them to https://developers.home-assistant.io/docs/core/entity/sensor#long-term-statistics.