Add Linky sensors : yesterday + months + years (#9422)

* Add Linky sensors : yesterday + months + years

* ✏️ Tweak

* 🔥 Removed monitored_conditions

* 🔥 Removed tip

* ✏️ Reverted comment in example
This commit is contained in:
Quentame 2019-06-18 23:15:17 +02:00 committed by Franck Nijhof
parent ac342c9c84
commit 2f25f8e6cf

View File

@ -1,7 +1,7 @@
---
layout: page
title: "Linky Sensor"
description: "Instructions on how to integrate Linky daily data within Home Assistant."
description: "Instructions on how to integrate Linky consumption data within Home Assistant."
date: 2018-09-06 08:35
sidebar: true
comments: false
@ -11,16 +11,19 @@ logo: enedis.png
ha_release: 0.79
ha_category:
- Energy
- Sensor
ha_iot_class: Cloud Polling
redirect_from:
- /components/sensor.linky/
---
The `linky` sensor platform is showing the last day consumption of your home from the [Linky electric meter](https://www.enedis.fr/english).
The `linky` sensor platform is retrieving the consumption of your home from the [Linky electric meter](https://www.enedis.fr/linky-compteur-communicant).
## {% linkable_title Configuration %}
To add the Linky sensor to your installation, add your Enedis account credentials to your `configuration.yaml` file:
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.
And then, add the Linky sensor to your `configuration.yaml` file like below:
```yaml
# Example configuration.yaml entry
@ -39,4 +42,9 @@ password:
description: The Enedis account password.
required: true
type: string
timeout:
description: Timeout to wait for the Enedis API connection.
required: false
type: integer
default: 10
{% endconfiguration %}