GithubHelp home page GithubHelp logo

linky-card's Introduction

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

Name Type Required Since Default Description
type string required v0.1 custom:linky-card
entity string required v0.1 The linky sensor entity_id.
showHistory bool optional v0.1 true Display History
showPeakOffPeak bool optional v0.1 true Activate Peak(heure pleine) and OffPeak mode (heures creuses)
kWhPrice number optional v0.2 undefined Calculate 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

linky-card's People

Contributors

royto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pataluc

linky-card's Issues

rajout entité

bonjour,
tu pense qu'il serait possible d'ajouter une option 'entité', afin de pouvoir rajouter d'autre sensor que linky . comme des prise avec mesure kwh par exemple.

"Please check your username/password"

Bonjour à tous,
Je viens de tomber sur ce plugin qui m'intéresse au plus haut point...
Malheureusement, j'ai l'impression qu'il ne fonctionne plus comme l'officiel d'ailleurs...
Auriez vous des infos à m'apporter à ce sujet svp ?
En vous remerciant par avance !

HC non calculées

le sensor ne calcule plus les hc (toutes a 0):

enedis linky

  • platform: myEnedis
    token: !secret enedisGateway_token
    code: !secret enedisGateway_code
    heures_creuses: "[[ '03:00', '08:00'], [ '13:30', '16:30']]"
    hc_cout: 0.1131
    hp_cout: 0.1482
    scan_interval: 3600

Rajout titre personnalisé

Bonjour,

j'utilise depuis peu la linky-card avec le rapatriement de données par sanilho, tout fonctionne à merveille , bravo à vous deux.
la dernière version de sanilho permet de rapatrier plusieurs compteurs linky (1.04), ne serait-il pas possible de personnaliser la card avec un titre ou un friendly name, ceci permettrait de différencier clairement les cards avec plusieurs Linky.

Meric d'avance et encore bravo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.