Suez Water sensor documentation (#9576)

* added suez doc

* update of suez doc

* Update source/_components/suez.markdown

Co-Authored-By: Klaas Schoute <klaas_schoute@hotmail.com>

* remove redirect from

* remove water category

* ✏️ Tweak

* ✏️ Tweak

* update ha first release

* ✏️ Tweaks
This commit is contained in:
Farid 2019-07-24 01:50:49 +02:00 committed by Franck Nijhof
parent 6fb20a1493
commit 1c8bd43cb4
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,50 @@
---
title: "Suez Water Sensor"
description: "Instructions on how to integrate Suez Water daily data within Home Assistant."
logo: suez.png
ha_release: 0.97
ha_category:
- Sensor
ha_iot_class: Cloud Polling
---
The `suez_water` sensor platform fetches your last day consumption of water from the French water provider [Tout Sur Mon Eau](https://www.toutsurmoneau.fr) website.
It also gets the following data:
- Daily consumption for the current month
- Daily consumption for the previous month
- Monthly consumption for the last 26 months
- Highest monthly consumption
- Last year total consumption
- Current year total consumption
## Configuration
To add the Suez Water sensor to your installation, add your _Tout Sur Mon Eau_ account credentials and your `counter_id` to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: suez_water
username: YOUR_SUEZ_USERNAME
password: YOUR_SUEZ_PASSWORD
counter_id: YOUR_SUEZ_COUNTER_ID
```
{% configuration %}
username:
description: The Tout Sur Mon Eau account username.
required: true
type: string
password:
description: The Tout Sur Mon Eau account password.
required: true
type: string
counter_id:
description: The Tout Sur Mon Eau counter id.
required: true
type: integer
{% endconfiguration %}
`counter_id` is the water counter id. It can be found on your _Tout Sur Mon Eau_ [user account](https://www.toutsurmoneau.fr/mon-compte-en-ligne/historique-de-consommation-tr). Look in the source code of the page for something similar to `url: '/mon-compte-en-ligne/statMData' + '/123456789'`. The `counter_id` in this case is `123456789`.

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB