Add production or consummation of electricity from Hydro-Québec to Home Assistant. The production is updating every hour and the consummation, every 15 minutes.
Copy the hq_open_data.yaml file with your other package file.
If you didn't configure packages file before, follow these steps:
- Add these lines in your configuration.yaml. If you already have a line "homeassistant:", just copy the "packages" line.
homeassistant:
packages: !include_dir_named packages/
- Create the "packages" folder in your "config" folder in Home Assistant.
- Download or copy the hq_open_data.yaml file in your "HA"/config/packages/ folder.
- Reboot HA
- All sensor start by "Hydro-Québec Demande" or "Hydro-Québec Production"
You can paste the "dashboard.yaml" content in a empty card of your dashboard for this result.
But the gap between the value and the real time can be 2 hours for the production and half a hour for the consummation. For an more realistic graph, you can use the Apex Charts Card to set a table with a correction for this gap. https://github.com/RomRider/apexcharts-card
After install apexcharts-card, you can paste the "apexcharts.yaml" content in a empty card of your dashboard for this result.