Skip to content

Conversation

@StefaniOSApps
Copy link

@StefaniOSApps StefaniOSApps commented Nov 30, 2025

Proposed change

This PR adds the Energy Tracker integration which allows users to automatically send meter readings from Home Assistant sensors to their Energy Tracker account at https://www.energy-tracker.best-ios-apps.de.

Energy Tracker is an established energy monitoring service with over 100,000 users. This integration enables automated meter reading submissions directly from Home Assistant entities with config flow support, multi-account capability, and full localization for 26 languages.

Type of change

  • New integration (thank you!)

Additional information

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • The code has been formatted using Ruff (ruff format homeassistant tests)
  • Tests have been added to verify that the new code works.
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.

To help with the load of incoming pull requests:

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new Energy Tracker integration that allows users to send meter readings from Home Assistant sensors to their Energy Tracker cloud service account. The integration is a service-type integration with cloud_push IoT class, providing a send_meter_reading service with multi-account support through config flow setup.

Key changes include:

  • Config flow with user setup and reconfiguration support
  • Service-based integration without entities
  • Comprehensive error handling with translated exceptions
  • Full localization support for 26 languages
  • Bronze-tier quality scale compliance

Reviewed changes

Copilot reviewed 41 out of 41 changed files in this pull request and generated no comments.

Show a summary per file
File Description
manifest.json Defines integration metadata, dependencies, and type configuration
const.py Declares domain constants and service names
config_flow.py Implements user and reconfigure flows with token validation
api.py Wraps Energy Tracker API client with HA exception translation
__init__.py Handles integration setup, service registration, and meter reading logic
services.yaml Defines service schema and field selectors
quality_scale.yaml Documents quality scale compliance status
strings.json + translations Provides user-facing strings in 26 languages
Test files Comprehensive unit tests for all components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant