Energy Dashboard

Configurations of the Home-Assistant Energy Dashboard

Hourly Consumption in Energy Dashboard

When you enable sync of the hourly consumption one or more sensors are created in Home-Assistant named “* Hourly Consumption” depending on your rate.

Rate D and D with CPC option (winter credits)

In the Energy Dashboard you will have to use the “Total Hourly Consumption” sensor in the “Grid Consumption” section.

Flex-D and DT (dual energy)

For FlexD and Bi-Energy rates you can put the sensors “High price hourly consumption” and “Reg price hourly consumption”. This will allow you 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 2 years 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 ToolsServices
  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

hydroqc2mqtt (Legacy)

If you’re still using hydroqc2mqtt, the old method with buttons and switches remains available on the device.

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 ToolsStatistics
  2. Search for your hourly consumption sensors (e.g., sensor.home_total_hourly_consumption)
  3. Click on the sensor to see all recorded statistics

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