From 1a08bf7a48b0c3a04401eec49395bbc5d91d92fe Mon Sep 17 00:00:00 2001 From: godloth Date: Fri, 17 Mar 2017 09:23:56 -0400 Subject: [PATCH] added mandatory information ( contract # ) (#2280) * added mandatory information ( contract # ) added :- **contract** (required since HA 4.0) Your contract number with Hydro-Quebec and contract: 'CONTRACT#' (NOTE:works with the ' ' ,insert your contract in between) * Minor formatting fix. --- source/_components/sensor.hydroquebec.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/sensor.hydroquebec.markdown b/source/_components/sensor.hydroquebec.markdown index afa3d113232..0784fee0f84 100644 --- a/source/_components/sensor.hydroquebec.markdown +++ b/source/_components/sensor.hydroquebec.markdown @@ -22,6 +22,7 @@ sensor: - platform: hydroquebec username: MYUSERNAME password: MYPASSWORD + contract: 'CONTRACT#' (NOTE:works with the ' ' ,insert your contract in between) monitored_variables: - period_total_bill - period_length @@ -32,6 +33,7 @@ Configuration variables: - **username** (*Required*): Username used to log into the Hydro-Québec site. - **password** (*Required*): Password used to log into the Hydro-Québec site. +- **contract** (required since HA 4.0) Your contract number with Hydro-Québec - **monitored_variables** array (*Required*): Variables to monitor. - **period_total_bill** : Current period bill - **period_length**: Current period length