The 'linky_custom' component is a Home Assistant custom sensors which calculate the cost of your daily consumption based on data provided by Enedis.
This component is inspired by the work of @Grea04.
You can use my custom card to display linky information
linky_custom.zip
file from the
latest release.custom_components/linky_custom
directory
into the custom_components
directory of your Home Assistant
installation.linky_custom
sensor.This repository is not included by default in HACS yet.
integration
linky_custom
sensor.Add linky_custom
sensor in your configuration.yaml
.
# Example configuration.yaml entry
sensor:
- platform: linky_custom
username: !secret linky_username
password: !secret linky_password
peak_hours:
- ["03:00","15:30"]
- ["17:30", "21:00"]
peak_hours_cost: 0.1710
offpeak_hours_cost: 0.1320
Parameter | Optional | Description |
---|---|---|
username |
No | Enedis account username |
password |
No | Enedis account password |
peak_hours |
No | Array of peak hours |
peak_hours_cost |
No | kWh cost for peak hours |
offpeak_hours_cost |
No | kWh cost for off peak hours |
daily
: array of daily consumption.halfhourly
: array of yesterday consumption per 30 min.peak_hours
: yesterday consumption in peak hoursoffpeak_hours
: yesterday consumption in off peak hourspeak_offpeak_percent
: percentage of yesterday consumption in off peakdaily_cost
: yesterday costmonthly_evolution
: percentage of consumption compare to same month of previous yeartime
: The month and year in format mmm YYYY
.username
: the Enedis account used.time
: The month and year in format mmm YYYY
.username
: the Enedis account used.time
: The year in format YYYY
.username
: the Enedis account used.time
: The year in format YYYY
.username
: the Enedis account used.