Update Hydroquebec sensor component configuration (#6948)

This commit is contained in:
Klaas Schoute 2018-10-19 19:57:13 +02:00 committed by Fabian Affolter
parent c3e0770b2f
commit 1400fe2fae

View File

@ -34,26 +34,58 @@ sensor:
- period_total_days - period_total_days
``` ```
Configuration variables: {% configuration %}
username:
- **username** (*Required*): Username used to log into the Hydro-Québec site. description: Username used to log into the Hydro-Québec site.
- **password** (*Required*): Password used to log into the Hydro-Québec site. required: true
- **contract** (required since HA 4.0) Your contract number with Hydro-Québec type: string
- **monitored_variables** array (*Required*): Variables to monitor. password:
- **balance** : Current balance description: Password used to log into the Hydro-Québec site.
- **period_total_bill** : Current period bill required: true
- **period_length**: Current period length type: string
- **period_total_days**: Total number of days in this period contract:
- **period_mean_daily_bill**: Period daily average bill description: Your contract number with Hydro-Québec.
- **period_mean_daily_consumption**: Period daily average consumption required: true
- **period_total_consumption**: Total Consumption type: string
- **period_lower_price_consumption**: Period Lower price consumption name:
- **period_higher_price_consumption**: Period Higher price consumption description: A friendly name for this sensor.
- **period_average_temperature**: Period Average temperature required: false
- **yesterday_total_consumption**: Yesterday total consumption default: HydroQuebec
- **yesterday_lower_price_consumption**: Yesterday lower price consumption type: string
- **yesterday_higher_price_consumption**: Yesterday higher price consumption monitored_variables:
- **yesterday_average_temperature**: Yesterday Average temperature description: Variables to monitor.
required: true
type: list
keys:
balance:
description: Current balance
period_total_bill:
description: Current period bill
period_length:
description: Current period length
period_total_days:
description: Total number of days in this period
period_mean_daily_bill:
description: Period daily average bill
period_mean_daily_consumption:
description: Period daily average consumption
period_total_consumption:
description: Total consumption
period_lower_price_consumption:
description: Period lower price consumption
period_higher_price_consumption:
description: Period higher price consumption
period_average_temperature:
description: Period average temperature
yesterday_total_consumption:
description: Yesterday total consumption
yesterday_lower_price_consumption:
description: Yesterday lower price consumption
yesterday_higher_price_consumption:
description: Yesterday higher price consumption
yesterday_average_temperature:
description: Yesterday average temperature
{% endconfiguration %}
To find your contract id, go to the [Hydro-Québec website](https://www.hydroquebec.com/portail/) To find your contract id, go to the [Hydro-Québec website](https://www.hydroquebec.com/portail/)
and connect to your account. and connect to your account.