Remove hydroquebec integration (ADR-0004) (#10700)

This commit is contained in:
Franck Nijhof 2019-10-10 20:58:23 +02:00 committed by GitHub
parent 82feea28bc
commit 3a1ba2fbd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 114 deletions

View File

@ -1,93 +0,0 @@
---
title: "Hydro-Québec"
description: "Instructions on how to integrate Hydro-Québec consumption profile within Home Assistant."
logo: hydroquebec.svg
ha_category:
- Energy
ha_release: 0.35
ha_iot_class: Cloud Polling
---
Integrate your [Hydro-Québec](https://www.hydroquebec.com/portail/) consumption profile information into Home Assistant.
<div class='note warning'>
Breaking change: Since Home Assistant v0.40, **contract** attribute is required.
</div>
```yaml
# Example configuration.yaml entry
sensor:
- platform: hydroquebec
username: MYUSERNAME
password: MYPASSWORD
contract: '123456789'
monitored_variables:
- period_total_bill
- period_length
- period_total_days
```
{% configuration %}
username:
description: Username used to log into the Hydro-Québec site.
required: true
type: string
password:
description: Password used to log into the Hydro-Québec site.
required: true
type: string
contract:
description: Your contract number with Hydro-Québec.
required: true
type: string
name:
description: A friendly name for this sensor.
required: false
default: HydroQuebec
type: string
monitored_variables:
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/)
and connect to your account.
On the main page your can see your contract IDs.
It should be something like: "Contract 1234 56789".
You just have to keep numbers and remove the space.
<div class='note warning'>
Multi contracts accounts are supported only from Home Assistant v0.40.
</div>

View File

@ -34,7 +34,7 @@ The new [image processing component][image] currently works with [number plates]
## All changes
- Sensor: Support for [HydroQuebec][quebec] ([@titilambert])
- Sensor: Support for HydroQuebec ([@titilambert])
- Sensor: Tracking the [ISS][iss] ([@HydrelioxGitHub])
- Sensor: USPS deliveries tracking ([@happyleavesaoc])
- Device tracker: New [ping-based][ping] tracker ([@michaelarnauts])
@ -177,7 +177,6 @@ Experiencing issues introduced by this release? Please report them in our [issue
[pico]: /integrations/picotts
[ping]: /integrations/ping
[plates]: /integrations/openalpr_local_local
[quebec]: /integrations/hydroquebec
[rest]: /integrations/rest_command/
[sma]: /integrations/sma#sensors
[sonarr]: /integrations/sonarr

View File

@ -165,7 +165,7 @@ light:
- Do not call update() in constructor ([@fabaff] - [#8120]) ([sensor.netdata docs])
- Change Error Message when Turning off ISY994 Light ([@SConaway] - [#8131]) ([light.isy994 docs])
- Allow iteration in python_script ([@balloob] - [#8134]) ([python_script docs])
- Add current balance to hydroquebec sensor ([@titilambert] - [#8138]) ([sensor.hydroquebec docs])
- Add current balance to hydroquebec sensor ([@titilambert] - [#8138])
- Decora light: Fix brightness level in UI ([@titilambert] - [#8139]) ([light.decora docs])
- Add I2c BME280 temperature, humidity and pressure sensor for Raspberry Pi ([@azogue] - [#7989]) ([sensor.bme280 docs]) (new-platform)
- Upgrade libsoundtouch to prevent Python3.6 errors with enum. #7733 #8103 ([@CharlesBlonde] - [#8143]) ([media_player.soundtouch docs])
@ -489,7 +489,6 @@ light:
[sensor.dyson docs]: /integrations/dyson#sensor
[sensor.glances docs]: /integrations/glances
[sensor.htu21d docs]: /integrations/htu21d
[sensor.hydroquebec docs]: /integrations/hydroquebec
[sensor.knx docs]: /integrations/sensor.knx/
[sensor.netdata docs]: /integrations/netdata
[sensor.openhardwaremonitor docs]: /integrations/openhardwaremonitor

View File

@ -138,7 +138,7 @@ conversation:
- Remove deprecated automation keywords ([@amelchio] - [#8510]) ([automation.state docs]) ([automation.time docs]) (breaking change)
- Citybikes: Allow None as result for empty slots ([@janLo] - [#8528]) ([sensor.citybikes docs])
- Return a 0 temperature value when none is found ([@phil-lavin] - [#8518]) ([climate.maxcube docs])
- Fix #6469 and #6828 ([@titilambert] - [#8537]) ([sensor.hydroquebec docs])
- Fix #6469 and #6828 ([@titilambert] - [#8537])
- Update docstrings ([@fabaff] - [#8536])
- Upgrade TwitterAPI to 2.4.6 ([@fabaff] - [#8535]) ([notify.twitter docs])
- Decora: Fix set brightness and improve reconnection ([@titilambert] - [#8522]) ([light.decora docs])
@ -381,7 +381,6 @@ conversation:
[sensor.dht docs]: /integrations/dht
[sensor.fitbit docs]: /integrations/fitbit
[sensor.google_wifi docs]: /integrations/google_wifi
[sensor.hydroquebec docs]: /integrations/hydroquebec
[sensor.knx docs]: /integrations/sensor.knx/
[sensor.lyft docs]: /integrations/lyft
[sensor.octoprint docs]: /integrations/octoprint#sensor

View File

@ -64,7 +64,7 @@ Our about screen that shows the error logs has gained a nice upgrade by [@postlu
- Fix yweather ([@tinloaf] - [#10661]) ([weather.yweather docs])
- Properly initialize Harmony remote ([@amelchio] - [#10665]) ([remote.harmony docs])
- Handle the new version of HydroQuebec website ([@titilambert] - [#10682]) ([sensor.hydroquebec docs])
- Handle the new version of HydroQuebec website ([@titilambert] - [#10682])
- Fix for time_date sensor ([@etsinko] - [#10694]) ([sensor.time_date docs])
- Frontend fixes ([@andrey-git] [@armills] [@balloob])
@ -493,6 +493,5 @@ Experiencing issues introduced by this release? Please report them in our [issue
[@tinloaf]: https://github.com/tinloaf
[@titilambert]: https://github.com/titilambert
[remote.harmony docs]: /integrations/harmony
[sensor.hydroquebec docs]: /integrations/hydroquebec
[sensor.time_date docs]: /integrations/time_date
[weather.yweather docs]: /integrations/yweather

View File

@ -161,7 +161,7 @@ Note however, that this feature was replaced by a new ignore_string config optio
## All changes
- Try multiple methods of getting data in asuswrt. ([@PeWu] - [#11140]) ([device_tracker.asuswrt docs])
- Hydroquebec component use now asyncio ([@titilambert] - [#10795]) ([sensor.hydroquebec docs])
- Hydroquebec component use now asyncio ([@titilambert] - [#10795])
- Hive Component Release Two ([@KJonline] - [#11053]) ([hive docs]) ([climate.hive docs]) ([light.hive docs])
- Add Discogs Sensor platform ([@thibmaek] - [#10957]) ([sensor.discogs docs]) (new-platform)
- Fix statistics sensor mean and median when only one sample is available. ([@markferry] - [#11180]) ([sensor.statistics docs])
@ -259,7 +259,7 @@ Note however, that this feature was replaced by a new ignore_string config optio
- Input Select - Added service description ([@cdce8p] - [#11456]) ([input_select docs])
- Input Boolean - Deleted 'DEFAULT_INITIAL' ([@cdce8p] - [#11453]) ([input_boolean docs])
- Updated gitignore file ([@cdce8p] - [#11452])
- Update hydroquebec component to use hass httpsession ([@titilambert] - [#11412]) ([sensor.hydroquebec docs])
- Update hydroquebec component to use hass httpsession ([@titilambert] - [#11412])
- Catch everything when calling to OctoPrint API to fix #10557 ([@w1ll1am23] - [#11457]) ([octoprint docs])
- Update PULL_REQUEST_TEMPLATE.md ([@danielhiversen] - [#11465])
- Alexa to not use customize for entity config ([@balloob] - [#11461]) ([cloud docs]) ([alexa.smart_home docs]) (breaking change)

View File

@ -38,7 +38,7 @@ This release includes a security fix. The error log was accessible via the API w
- Import operation modes from air humidifier ([@syssi] - [#13908]) ([fan.xiaomi_miio docs])
- Upgrade pyqwikswitch to 0.71 ([@kellerza] - [#13920]) ([qwikswitch docs])
- Upgrade somecomfort to 0.5.2 ([@balloob] - [#13940]) ([climate.honeywell docs])
- Update pyhydroquebec to 2.2.2 ([@titilambert] - [#13946]) ([sensor.hydroquebec docs])
- Update pyhydroquebec to 2.2.2 ([@titilambert] - [#13946])
- Update pyfido to 2.1.1 ([@titilambert] - [#13947]) ([sensor.fido docs])
- Bumped pypollencom to 1.1.2 ([@bachya] - [#13959]) ([sensor.pollen docs])
- Revert "Upgrade pyqwikswitch to 0.71 ([@balloob] - [#13920]) ([qwikswitch docs])
@ -111,7 +111,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
- Remove MercedesME component ([@ReneNulschDE] - [#13538]) ([device_tracker docs]) (mercedesme docs) (binary_sensor.mercedesme docs) (sensor.mercedesme docs) (breaking change)
- Added Waze travel time sensor ([@Myrddyn1] - [#12387]) ([sensor.waze_travel_time docs]) (new-platform)
- Added switch component to Amcrest IP Camera. ([@adpriebe] - [#12992]) ([amcrest docs]) ([switch.amcrest docs]) (new-platform)
- Upgrade pyhydroquebec 2.2.1 ([@titilambert] - [#13586]) ([sensor.hydroquebec docs])
- Upgrade pyhydroquebec 2.2.1 ([@titilambert] - [#13586])
- Add mastodon ([@fabaff] - [#13441]) ([notify docs]) (new-platform)
- Added support for requesting RSSI values from Bluetooth devices ([@FrederikBolding] - [#12458]) ([device_tracker.bluetooth_tracker docs])
- Fix mysensors update callback ([@MartinHjelmare] - [#13602]) ([mysensors docs])
@ -384,7 +384,6 @@ Experiencing issues introduced by this release? Please report them in our [issue
[sensor.canary docs]: /integrations/canary#sensor
[sensor.cpuspeed docs]: /integrations/cpuspeed
[sensor.file docs]: /integrations/file#sensor
[sensor.hydroquebec docs]: /integrations/hydroquebec
[sensor.imap_email_content docs]: /integrations/imap_email_content/
[sensor.plex docs]: /integrations/plex#sensor
[sensor.qnap docs]: /integrations/qnap
@ -435,7 +434,6 @@ Experiencing issues introduced by this release? Please report them in our [issue
[fan.xiaomi_miio docs]: /integrations/fan.xiaomi_miio/
[qwikswitch docs]: /integrations/qwikswitch/
[sensor.fido docs]: /integrations/fido
[sensor.hydroquebec docs]: /integrations/hydroquebec
[sensor.pollen docs]: /integrations/iqvia
[switch.broadlink docs]: /integrations/broadlink#switch
[switch.vesync docs]: /integrations/vesync#switches

View File

@ -156,7 +156,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
- Add support for new platform: climate.modbus ([@Kirchoff] - [#12224]) ([climate.modbus docs]) (new-platform)
- Hive R3 update ([@KJonline] - [#13357]) ([hive docs]) ([binary_sensor.hive docs]) ([climate.hive docs]) ([light.hive docs]) ([sensor.hive docs]) ([switch.hive docs])
- Updated foobot_async package version ([@reefab] - [#13942]) ([sensor.foobot docs])
- Update pyhydroquebec to 2.2.2 ([@titilambert] - [#13946]) ([sensor.hydroquebec docs]) (beta fix)
- Update pyhydroquebec to 2.2.2 ([@titilambert] - [#13946]) (beta fix)
- Upgrade alpha_vantage to 2.0.0 ([@fabaff] - [#13943]) ([sensor.alpha_vantage docs])
- Cleanup on exit ([@dgomes] - [#13918]) ([media_player.mediaroom docs])
- Upgrade somecomfort to 0.5.2 ([@balloob] - [#13940]) ([climate.honeywell docs]) (beta fix)
@ -183,7 +183,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
- Import operation modes from air humidifier ([@syssi] - [#13908]) ([fan.xiaomi_miio docs]) (beta fix)
- Upgrade pyqwikswitch to 0.71 ([@kellerza] - [#13920]) ([qwikswitch docs])
- Upgrade somecomfort to 0.5.2 ([@balloob] - [#13940]) ([climate.honeywell docs]) (beta fix)
- Update pyhydroquebec to 2.2.2 ([@titilambert] - [#13946]) ([sensor.hydroquebec docs]) (beta fix)
- Update pyhydroquebec to 2.2.2 ([@titilambert] - [#13946]) (beta fix)
- Revert "Upgrade pyqwikswitch to 0.71 ([@balloob] - [#13920]) ([qwikswitch docs])
- Bump skybellpy version to 0.1.2 ([@MisterWil] - [#13974]) ([skybell docs])
- Fix typo an coding style ([@stephanerosi] - [#13970]) ([device_tracker docs])
@ -476,7 +476,6 @@ Experiencing issues introduced by this release? Please report them in our [issue
[sensor.foobot docs]: /integrations/foobot
[sensor.fritzbox_netmonitor docs]: /integrations/fritzbox#sensor_netmonitor/
[sensor.hive docs]: /integrations/hive#sensor
[sensor.hydroquebec docs]: /integrations/hydroquebec
[sensor.linux_battery docs]: /integrations/linux_battery
[sensor.miflora docs]: /integrations/miflora
[sensor.mqtt docs]: /integrations/sensor.mqtt/

View File

@ -42,7 +42,7 @@ Also impacted, but integrations are read only:
- [sensor.ebox](/integrations/ebox)
- [sensor.fido](/integrations/fido)
- [sensor.foobot](/integrations/foobot)
- [sensor.hydroquebec](/integrations/hydroquebec)
- sensor.hydroquebec
- [sensor.startca](/integrations/startca)
- [sensor.teksavvy](/integrations/teksavvy)
- [sensor.thethingsnetwork](/integrations/thethingsnetwork#sensor)

View File

@ -750,7 +750,6 @@
/components/sensor.htu21d /integrations/htu21d
/components/sensor.huawei_lte /integrations/huawei_lte#sensor
/components/sensor.hydrawise /integrations/hydrawise#sensor
/components/sensor.hydroquebec /integrations/hydroquebec
/components/sensor.ihc /integrations/ihc#sensor
/components/sensor.imap /integrations/imap
/components/sensor.imap_email_content /integrations/imap_email_content
@ -1455,7 +1454,6 @@
/components/hue /integrations/hue
/components/hunterdouglas_powerview /integrations/hunterdouglas_powerview
/components/hydrawise /integrations/hydrawise
/components/hydroquebec /integrations/hydroquebec
/components/hyperion /integrations/hyperion
/components/ialarm /integrations/ialarm
/components/iaqualink /integrations/iaqualink

View File

@ -1 +0,0 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0" viewBox="0 0 200 65" xml:space="preserve"><style type="text/css">.st0{fill:#ff9b00}.st1{fill:#036}</style><g><path class="st0" d="M44.9,49.5C40.4,53,34.8,55,28.7,55C14,55,2.1,43.1,2.1,28.4C2.1,13.6,14,1.7,28.7,1.7 c14.7,0,26.6,11.9,26.6,26.6c0,6.1-2,11.7-5.5,16.2v0c1.3,1,7.4,5.5,8,6.3c-0.2-2.2-1-9.3-1-9.3l22.3,16.7l0.1,0.5l-16.5-7.3 L64.2,64L44.9,49.5L44.9,49.5z M38.5,44.5c-3.1-2.3-15.1-11-15.1-11h11.7c0.7,0.5,5.9,4.4,8.5,6.4l0,0c2.4-3.2,3.9-7.2,3.9-11.5 c0-10.5-8.4-19-18.8-19c-10.4,0-18.8,8.5-18.8,19c0,10.5,8.4,19,18.8,19C32.3,47.3,35.7,46.3,38.5,44.5L38.5,44.5z"/><g><g><path class="st1" d="M89.2,24.8L86,10.1h4.7l1,6.9c0.2,1.6,0.4,2.9,0.6,3.9h0.1c0.3-1,0.8-2.2,1.5-3.9l2.9-6.9h4.7L91.1,30.8 l-5.3,0L89.2,24.8z"/><path class="st1" d="M72.8,4.1l-1.6,8.5h8.1l1.6-8.5h4.5l-4.1,21.8h-4.5l1.7-9.2h-8.1l-1.7,9.2h-4.5l4.1-21.8H72.8z"/><path class="st1" d="M117.8,25.9l1.8-9.5c0.4-2.4,0.6-5,0.8-6.3h3.9c-0.1,1.1-0.2,2.1-0.3,3.3h0.1c1.1-2.1,2.9-3.6,5-3.6 c0.3,0,0.6,0,0.9,0l-0.9,4.4c-0.2,0-0.5,0-0.7,0c-2.9,0-4.4,2.7-4.9,5.8l-1.1,6H117.8z"/><path class="st1" d="M136,26.3c-4,0-6.7-2.6-6.7-6.5c0-5.4,3.8-10,9.4-10c4.2,0,6.7,2.9,6.7,6.5C145.4,21.9,141.4,26.3,136,26.3 L136,26.3z M136.6,22.8c2.6,0,4.1-3.8,4.1-6.5c0-1.5-0.7-3.1-2.6-3.1c-2.7,0-4.2,3.9-4.2,6.5C133.9,21.5,134.9,22.8,136.6,22.8 L136.6,22.8z"/><path class="st1" d="M118.3,3.6l-3.1,16.3c-0.4,2-0.7,4.2-0.7,6h-4.1l0.2-2.6h-0.1c-1.4,2.1-3.3,3-5.2,3c-2.7,0-4.9-2.1-4.9-5.9 c0-5.5,4-10.6,9.9-10.6c0.7,0,1.5,0.1,2.2,0.4l1.3-6.6H118.3z M111.9,13.7c-0.4-0.3-1.1-0.6-1.9-0.6c-2.9,0-4.9,3.3-4.9,6.4 c0,1.9,0.8,3.1,2.2,3.1c1.4,0,3.1-1.5,3.7-4.6L111.9,13.7z"/></g><g><path class="st1" d="M134,36.8l-2,10.7c-0.4,2-0.6,3.7-0.8,5.1h-4l0.3-2.6l-0.1,0c-1.6,2.1-3.5,3-5.4,3c-2.5,0-4.1-1.4-4.1-4.4 c0-0.9,0.1-1.8,0.3-2.9l1.7-8.8h4.5l-1.6,8.5c-0.1,0.7-0.2,1.5-0.2,2.1c0,1.1,0.4,1.9,1.7,1.9c1.6,0,3.3-1.9,3.9-5.1l1.4-7.4H134 z"/><path class="st1" d="M195.3,52.1c-1,0.5-2.6,0.8-4.5,0.8c-3.9,0-6.6-2.4-6.6-6.5c0-5.6,4.3-10,10.2-10c1.4,0,2.5,0.3,3.2,0.5 l-1.1,3.4c-0.6-0.2-1.2-0.4-2.2-0.4c-3.4,0-5.5,2.9-5.5,5.9c0,2.2,1.4,3.4,3.2,3.4c1.4,0,2.4-0.3,3.2-0.7L195.3,52.1z"/><g><path class="st1" d="M150.1,51.9l4.1-21.7l4.5,0l-1.6,8.6l0.1,0c0.9-1.4,2.9-2.5,4.9-2.5c3.3,0,4.9,2.5,4.9,5.5 C166.7,50.6,159.1,55.2,150.1,51.9z M155,49.3c4.1,1.8,7.1-2.9,7.1-6.6c0-1.6-0.8-2.8-2.1-2.8c-1.8,0-3.6,1.8-4.2,5.1L155,49.3z"/></g><path class="st1" d="M182.7,44.9c0.7-3,0.6-8.5-5.4-8.5c-5.8,0-9.2,5.1-9.2,9.9c0,4,2.2,6.6,6.8,6.6c1.8,0,4.1-0.4,5.8-1.2 l-0.3-3.3c-1.2,0.8-7.8,2.6-8-2L182.7,44.9z M172.8,43.5c0.1-1.1,1.3-3.5,3.5-3.8c2.1-0.2,2.9,1.5,2.6,2.9L172.8,43.5z"/><path class="st1" d="M104.2,53c-3.7,0-8.7-2.3-8.7-9.2c0-6.6,4.2-13.3,11.9-13.3c6,0,8.7,4.3,8.7,9.1c0,5-3.2,8.9-5.2,10v0 c0.2,0,1.7-0.5,3.4-0.5c0,0,0.9,0,1.4,0l-0.7,3.5c-0.3,0-2.6,0-5.5,0C107.2,52.6,107.2,53,104.2,53z M104.9,49.2 c4,0,6.5-5.4,6.5-9.6c0-2.5-1-5.3-4.5-5.3c-4.1,0-6.6,5.5-6.6,9.6C100.2,46.9,101.7,49.2,104.9,49.2L104.9,49.2z"/><path class="st1" d="M149.4,30.2l-4,4.7h-3.2l3-4.7H149.4z M149.3,44.9c0.7-3,0.6-8.5-5.4-8.5c-5.8,0-9.2,5.1-9.2,9.9 c0,4,2.2,6.6,6.8,6.6c1.8,0,4.1-0.4,5.8-1.2l-0.3-3.3c-1.2,0.8-7.8,2.6-8-2L149.3,44.9z M139.3,43.5c0.1-1.1,1.3-3.5,3.5-3.8 c2.1-0.2,2.9,1.5,2.5,2.9L139.3,43.5z"/></g></g></g></svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB