custom-components / zaptec

zaptec charger custom component for home assistant
MIT License
67 stars 20 forks source link

Enable statistics for the charge power and possibly other entities #75

Closed JonathanJorstad closed 11 months ago

JonathanJorstad commented 11 months ago

When trying to add a graph card for the charge power (ID: sensor.ladestasjon_1_charge_power), it is not available since home assistant complains about how the entity is defined: it is "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 "

So a feature request would be to specify this for relevant entities such as charing power, unless it destroys other functionality.

sveinse commented 11 months ago

The latest version in "master" (version 0.7.1a5) contains a fix for the statistics issue. Please install this version and report back if this fixes your problem. (When we've verified it, we can go a head and release 0.7.1 as a release.)

JonathanJorstad commented 11 months ago

Can confirm that I can now add for instance charge power as a statistic. It allows for charge power to be plotted together with other data such as total house power consumption etc.

fre. 29. des. 2023, 17:02 skrev Svein Seldal @.***>:

The lastest verion in "master" (version 0.7.1a5) contains a fix for the statistics issue. Please install this version and report back if this fixes your problem. (When we've verified it, we can go a head and release 0.7.1 as a release.)

— Reply to this email directly, view it on GitHub https://github.com/custom-components/zaptec/issues/75#issuecomment-1872189772, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEPBXFDYFLCYJLVGIOG3VTDYL3SS5AVCNFSM6AAAAABAP7FWUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGE4DSNZXGI . You are receiving this because you authored the thread.Message ID: @.***>