Energy Dashboard

Configurations of the Home-Assistant Energy Dashboard

Hourly Consumption in Energy Dashboard

When you enable hourly consumption sync, the integration imports consumption as Home Assistant external statistics (not sensors). The statistic IDs depend on your contract name (slugified):

  • hydroqc:<contract>_hourly_consumption (total)
  • hydroqc:<contract>_reg_hourly_consumption (regular/lower price)
  • hydroqc:<contract>_haut_hourly_consumption (higher price)

Rate D and D with CPC option (winter credits)

In the Energy Dashboard, use the total hourly consumption statistic in the “Grid Consumption” section.

Flex-D and DT (dual energy)

For Flex-D and Bi-Energy rates, three statistics are imported: total, regular and higher price. Use the regular and higher price statistics to distinguish the two types of consumption in the dashboard.

img

Historical Energy Consumption

Initial Setup

Enabling hourly consumption sync during hydroqc-ha integration setup will automatically sync:

  • Data from the last 30 days via regular sync (efficient and fast)
  • For more than 30 days: automatic CSV import in the background during initial setup

Manual History Import

The hydroqc-ha integration provides a Home Assistant service to manually import hourly consumption history up to 2000 days back.

Service: hydroqc.sync_consumption_history

Parameters:

  • days_back: Number of days to import (default: 731 days = ~2 years)
  • device_id: The HydroQC device corresponding to your contract

Usage in Actions:

action: hydroqc.sync_consumption_history
data:
  days_back: 365  # Import last year
target:
  device_id: <your_device_id>

From the UI:

  1. Go to Developer Tools → Services
  2. Select the service HydroQC: Sync consumption history
  3. Select your HydroQC device
  4. Specify the number of days (optional, default: 731)
  5. Click Call Service

Managing Statistics

If you need to correct or delete hourly consumption statistics (for example, after an incorrect import), you can do so via Home Assistant’s Developer Tools:

Access statistics:

  1. Go to Developer Tools → Statistics
  2. Search for your hourly consumption statistics (e.g., hydroqc:home_hourly_consumption)
  3. Click on the statistic to see all recorded values

Adjust or delete a statistic:

  1. Click the Adjust sum button to correct an incorrect value
  2. Or select a date range and click Delete to erase data from a specific period
  3. Changes will take effect immediately in the Energy Dashboard

Common use cases:

  • Correct outliers caused by import errors
  • Remove duplicates after accidental multiple imports
  • Clean up statistics before a complete re-import
  • Adjust data after a timezone change or DST transition