Services

Services exposed by the Hydro-Québec integration
ServiceDescriptionFields
hydroqc.refresh_dataManually refresh data from the Hydro-Québec APITarget: a Hydro-Québec entity
hydroqc.sync_consumption_historyImport historical hourly consumption (runs in the background)days_back (1-2000, default: 731)
hydroqc.create_peak_eventCreate a manual critical peak event in the configured calendardevice_id, date (YYYY-MM-DD), time_slot (AM = 6h-10h, PM = 16h-20h)

hydroqc.sync_consumption_history requires Portal Mode and consumption synchronization enabled. A manually created peak event is automatically matched if Hydro-Québec later announces the same event.