From a1ed84e19e01430b79be90603d205551e7edf749 Mon Sep 17 00:00:00 2001 From: jb101010-2 <168106462+jb101010-2@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:09:18 +0100 Subject: [PATCH] Suez water: simplify config flow (#35638) * Suez water: simplify config flow * tweaks * Update source/_integrations/suez_water.markdown Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- source/_integrations/suez_water.markdown | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/source/_integrations/suez_water.markdown b/source/_integrations/suez_water.markdown index ffb57c2ca21..3ef62f249e3 100644 --- a/source/_integrations/suez_water.markdown +++ b/source/_integrations/suez_water.markdown @@ -15,9 +15,19 @@ ha_platforms: ha_integration_type: integration --- -The Suez Water integration fetches your last day consumption of water from the French water provider [Tout Sur Mon Eau](https://www.toutsurmoneau.fr) website. +The **Suez Water** {% term integration %} fetches your water consumption data from the French water provider [Tout Sur Mon Eau](https://www.toutsurmoneau.fr) website. +The **Water usage yesterday** sensor shows yesterday's water consumption data if that data is available. -It also gets the following data: +{% include integrations/config_flow.md %} + +{% configuration_basic %} +Counter ID: + description: "The water counter ID. It should be found automatically during setup. If it was not found, the ID 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`." +{% endconfiguration_basic %} + +## Extra attributes + +Extra attributes of `Water usage yesterday` sensor: - Daily consumption for the current month - Daily consumption for the previous month @@ -25,7 +35,3 @@ It also gets the following data: - Highest monthly consumption - Last year total consumption - Current year total consumption - -{% include integrations/config_flow.md %} - -`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`.