From 73b88bd66001ba07f4b86dce2c768d27661e80b3 Mon Sep 17 00:00:00 2001 From: Quentame Date: Wed, 4 Sep 2019 13:00:47 +0200 Subject: [PATCH] Add config flow to linky (#10284) * Add config flow to linky * :pencil2: Tweak --- source/_components/linky.markdown | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/source/_components/linky.markdown b/source/_components/linky.markdown index 980899bf8f5..99225fc18ae 100644 --- a/source/_components/linky.markdown +++ b/source/_components/linky.markdown @@ -13,17 +13,24 @@ redirect_from: The `linky` sensor platform is retrieving the consumption of your home from the [Linky electric meter](https://www.enedis.fr/linky-compteur-communicant). -## Configuration +## Setup the integration -First, you need to create an Enedis account [here](https://espace-client-connexion.enedis.fr/auth/UI/Login?realm=particuliers), if you don't have already one. +You need to create an Enedis account [here](https://espace-client-connexion.enedis.fr/auth/UI/Login?realm=particuliers) if you don't have one already. -And then, add the Linky sensor to your `configuration.yaml` file like below: +### Via the frontend + +Menu: *Configuration* -> *Integrations* + +Search for "Linky", add your credentials, click submit, you are done ! + +### Via the configuration file + +Add the Linky sensor to your `configuration.yaml` file like below: ```yaml # Example configuration.yaml entry -sensor: - - platform: linky - username: YOUR_LINKY_USERNAME +linky: + - username: YOUR_LINKY_USERNAME password: YOUR_LINKY_PASSWORD ```