Home

Awesome

Linky card

A custom Lovelace component for displaying linky info for Home Assistant.

Warning: this card use a custom integration of Linky and not the default version of Home Assistant.

The card is initially based on the work of @Imbuzi. I convert it to Lit Element and add some configuration option.

logbook card example

GitHub license

Installation

HACS

This card is not yet available in HACS (Home Assistant Community Store) but can be added as custom repository in the settings tab.

Manual

Download the linky-card.js from the latest release and store it in your configuration/www folder. Configure Lovelace to load the card:

resources:
  - url: /local/linky-card.js?v=1
    type: module

Using the card

Options

Card options

NameTypeRequiredSinceDefaultDescription
typestringrequiredv0.1custom:linky-card
entitystringrequiredv0.1The linky sensor entity_id.
showHistorybooloptionalv0.1trueDisplay History
showPeakOffPeakbooloptionalv0.1trueActivate Peak(heure pleine) and OffPeak mode (heures creuses)
kWhPricenumberoptionalv0.2undefinedCalculate Price (only available if showPeakOffPeak is false)

Example usage

Default config

type: "custom:linky-card"
entity: sensor.linky

No history

Example with Peak OffPeak hour disabled

type: "custom:linky-card"
entity: sensor.linky
showPeakOffPeak: false

No history

Example with no history

type: "custom:linky-card"
entity: sensor.linky
showHistory: false

No history

Example with Price

entity: sensor.linky
showHistory: true
showPeakOffPeak: false
type: 'custom:linky-card'
kWhPrice: 0.128

Price