Skip to content

Add state-less statistics entity for use with Energy Dashboard #300

Open

Description

@steinmn

Inspired by https://www.home-assistant.io/integrations/tibber/

This allows for properly backdating hourly power consumption which solves the offset issue seen in #162 and #103

Will require implementing the chargehistory-api, and probably pagination as well.

Activity

  1. sveinse commented on Sep 29, 2025

    @sveinse
    Collaborator
  2. steinmn commented on Sep 29, 2025

    @steinmn
    ContributorAuthor

    More specifically, the _insert_statistics function is what we need to learn from: https://github.com/home-assistant/core/blob/dev/homeassistant/components/tibber/coordinator.py#L70

  3. sveinse commented on Sep 29, 2025

    @sveinse
    Collaborator

    Will require implementing the chargehistory-api, and probably pagination as well.

    Yes and good. I was worried there for a second that we needed to make the integration hold history. Let's cross our fingers that Zaptec portal contains all information we need to implement this.

  4. added this to the backlog milestone on Jul 24, 2026
  5. rhammen commented on Jul 24, 2026

    @rhammen
    Contributor

    @sveinse PR for this one is ready: #396.
    Per my comments in the milestone plan:

    For this one, I would like to get confirmation that it works correctly from more users.
    I would say it is thus a "beta" feature.
    Also scope is mainly (or only, once the previous PRs are merged ?) on the new statistics,py file, so regression risk for the basic functionality is low.
    For this reason my suggestion is to include this one also in 0.8.8, but it is your call. 
    
  6. modified the milestones: backlog, v0.8.8 on Jul 24, 2026
  7. modified the milestones: v0.8.8, v0.9.0 on Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions