Étiquette : holm-energy-cards

  • HOLM Energy Cards 1.4.1 : des noms et des couleurs sécurisés

    HOLM Energy Cards 1.4.1 : des noms et des couleurs sécurisés

    🇬🇧 English version

    MISE À JOUR · v1.4.1

    Une version de sécurité, en préparation de l’arrivée des cartes dans le catalogue HACS par défaut, avec au passage une correction pour l’espagnol, le portugais et le polonais.

    🔒 Sécurité

    • Dans les six cartes, les noms de vos appareils, pièces et réseaux, qu’ils viennent de la configuration, de l’entité ou du tableau de bord Énergie, sont échappés avant d’être affichés. C’est aussi le cas des titres, libellés et icônes.
    • Un nom contenant < ou " s’affiche tel quel, sans casser la carte ni exécuter de code.

    🎨 Couleurs vérifiées

    • Toutes les options de couleur (color, solar_color, grid_colors, heat_color…) acceptent #1f6aa8, rgb(…) / rgba(…), hsl(…), var(--ma-variable) ou un nom de couleur (red).
    • Une couleur dans un autre format est ignorée : la carte reprend la couleur par défaut.

    🐛 Correction

    • En espagnol, portugais et polonais, la vue Puissance de Production & consommation affichait une erreur, et le graphique d’un appareil se rabattait sur l’historique brut. C’est corrigé.

    📖 Installation

    • Le README commence maintenant par la recherche directe de « HOLM Energy Cards » dans HACS ; le dépôt personnalisé reste possible en attendant.

    Mettre à jour

    Mettez à jour via HACS, puis rechargez la page (Ctrl + F5).

    Toutes les infos : la fiche HOLM Energy Cards · la version sur GitHub.

    💬 Une question ? Ouvrez une issue sur GitHub.

  • HOLM Energy Cards 1.4.1: safer names and colours

    HOLM Energy Cards 1.4.1: safer names and colours

    🇫🇷 Version française

    UPDATE · v1.4.1

    A security release, ahead of the cards joining the default HACS catalog, with a fix for Spanish, Portuguese and Polish along the way.

    🔒 Security

    • In all six cards, the names of your devices, rooms and grids, whether they come from the configuration, the entity or the Energy dashboard, are escaped before being displayed. Titles, labels and icons too.
    • A name containing < or " is shown as is, without breaking the card or running code.

    🎨 Validated colours

    • Every colour option (color, solar_color, grid_colors, heat_color…) accepts #1f6aa8, rgb(…) / rgba(…), hsl(…), var(--my-variable) or a colour name (red).
    • A colour in any other format is ignored: the card uses the default colour.

    🐛 Fix

    • In Spanish, Portuguese and Polish, the Power view of Production & consumption showed an error and the device chart fell back to raw history. This is fixed.

    📖 Installation

    • The README now starts with searching for “HOLM Energy Cards” directly in HACS; the custom repository is still available in the meantime.

    Update

    Update through HACS, then reload the page (Ctrl + F5).

    All the details: the HOLM Energy Cards page · the release on GitHub.

    💬 A question? Open an issue on GitHub.

  • HOLM Energy Cards 1.4.0 : votre devise, votre compteur, votre chauffage

    HOLM Energy Cards 1.4.0 : votre devise, votre compteur, votre chauffage

    🇬🇧 English version

    MISE À JOUR · v1.4.0

    En francs suisses, avec un compteur SolarEdge ou une chaudière à pellets ? Les HOLM Energy Cards s’adaptent maintenant à votre installation. Merci à Lheriss pour ces trois idées. Rien ne change pour une installation en euros, avec un compteur classique et un chauffage électrique.

    HOLM Energy Cards : la carte Chauffage & climatisation
    La carte Chauffage & climatisation

    💱 La devise de Home Assistant

    • Les montants s’affichent dans la devise réglée dans Paramètres → Système → Général : « 2,30 CHF », « 2,30 $ »… au lieu d’un « € » écrit en dur, éditeurs compris.
    • L’icône des coûts suit la devise (€, $, £…), ou devient un billet.
    • Option currency pour imposer une devise sur une carte. Aucune conversion : les montants viennent de vos capteurs, déjà dans votre devise.

    🔁 Puissance réseau inversée ou en deux capteurs

    • La vue Puissance de Production & consommation reprend tous les réglages de puissance réseau du tableau Énergie : capteur standard, capteur inversé (négatif à l’achat, comme le compteur SolarEdge M1) ou deux capteurs achat et revente.
    • La carte lit vos capteurs d’origine, avec tout leur historique, et non le capteur intermédiaire que crée Home Assistant.
    • Nouvelles options grid_power_invert, grid_power_import et grid_power_export, aussi dans l’éditeur.

    🔥 Le vrai coût d’un chauffage aux pellets, au gaz ou au fioul

    • Dans Chauffage & climatisation, le chauffage n’est plus forcément compté au prix de l’électricité.
    • Si l’entité de chauffage est une source gaz du tableau Énergie, la carte reprend son coût : rien à configurer.
    • Sinon, deux options par pièce : cost_entity (statistique de coût) ou price (prix du kWh).
    • La tuile Climatisation se masque toute seule quand aucune pièce n’en a (option show_cooling).

    Tout est expliqué dans le README : Devise, Puissance réseau et Coût d’un chauffage non électrique.

    Mettre à jour

    Dans HACS → HOLM Energy Cards → Mettre à jour, puis rechargez la page (Ctrl + F5).

    Toutes les infos : la fiche HOLM Energy Cards · la version sur GitHub.

    💬 Une question ? Ouvrez une issue sur GitHub.

  • HOLM Energy Cards 1.4.0: your currency, your meter, your heating

    HOLM Energy Cards 1.4.0: your currency, your meter, your heating

    🇫🇷 Version française

    UPDATE · v1.4.0

    In Swiss francs, with a SolarEdge meter or a pellet boiler? The HOLM Energy Cards now adapt to your setup. Thanks to Lheriss for these three ideas. Nothing changes for a setup in euros, with a standard meter and electric heating.

    HOLM Energy Cards: the Heating & cooling card
    The Heating & cooling card

    💱 Home Assistant’s currency

    • Amounts are shown in the currency set in Settings → System → General: “CHF 2.30”, “$2.30”… instead of a hard-coded “€”, editors included.
    • The cost icon follows the currency (€, $, £…), or becomes a banknote.
    • currency option to force a currency on a card. No conversion: amounts come from your sensors, already in your currency.

    🔁 Inverted grid power or two sensors

    • The Power view of Production & consumption picks up all the grid power settings of the Energy dashboard: standard sensor, inverted sensor (negative when importing, like the SolarEdge M1 meter) or two sensors for import and export.
    • The card reads your original sensors, with their full history, not the intermediate sensor Home Assistant creates.
    • New options grid_power_invert, grid_power_import and grid_power_export, also in the editor.

    🔥 The real cost of pellet, gas or oil heating

    • In Heating & cooling, heating is no longer necessarily counted at the electricity price.
    • If the heating entity is a gas source in the Energy dashboard, the card uses its cost: nothing to configure.
    • Otherwise, two options per room: cost_entity (cost statistic) or price (price per kWh).
    • The Cooling tile hides itself when no room has any (option show_cooling).

    Everything is explained in the README: Currency, Grid power and Cost of non-electric heating.

    How to update

    In HACS → HOLM Energy Cards → Update, then reload the page (Ctrl + F5).

    All the details: the HOLM Energy Cards page · the release on GitHub.

    💬 A question? Open an issue on GitHub.

  • HOLM Energy Cards 1.2.2 : des coûts justes avec Tempo, l’abonnement et les taxes lus dans HOLM HP/HC

    HOLM Energy Cards 1.2.2 : des coûts justes avec Tempo, l’abonnement et les taxes lus dans HOLM HP/HC

    🇬🇧 English version

    MISE À JOUR · v1.2.1 et v1.2.2

    Les HOLM Energy Cards calculent maintenant des coûts justes avec Tempo et tous les prix qui changent, lisent l’abonnement et les taxes dans HOLM HP/HC, et ne montrent plus d’erreur quand on ajoute une carte.

    Carte Bilan énergétique des HOLM Energy Cards avec la facture estimée

    💶 Des coûts justes avec Tempo (v1.2.1)

    • Les cartes reprennent maintenant le coût que Home Assistant enregistre heure par heure pour chaque source du tableau Énergie, au prix en vigueur à ce moment-là, comme le tableau Énergie officiel.
    • Avant, quand une source avait une entité de prix, le prix actuel était appliqué à tout l’historique : avec Tempo (bleu, blanc, rouge) ou après un changement de tarif, les coûts passés étaient faux.
    • Concerne Consommation par appareil, Chauffage & climatisation et Bilan énergétique.
    • Merci à l’utilisateur qui a remarqué l’écart avec ses compteurs heures pleines / heures creuses !

    🧾 Abonnement et taxes lus dans HOLM HP/HC (v1.2.2)

    • Si l’intégration HOLM HP/HC est installée, le Bilan énergétique y lit l’abonnement mensuel, la CSPE / accise, la TCFE et la taxe sur la revente.
    • Consommation par appareil et Chauffage & climatisation y lisent la CSPE et la TCFE.
    • Plus besoin de les renseigner dans chaque carte. Les valeurs indiquées dans une carte restent prioritaires, et holm_tarif: false désactive la lecture automatique.

    🩹 Plus d’erreur à l’ajout d’une carte (v1.2.2)

    • Une carte tout juste ajoutée, ou un tableau Énergie pas encore configuré, affichait Erreur : length of value must be at least 1 at 'statistic_ids'.
    • La carte indique maintenant simplement quoi faire : choisir une entité dans l’éditeur, ou configurer le tableau Énergie de Home Assistant.

    📖 D’où viennent les prix ?

    Les cartes ne lisent pas vos utility meters : elles reprennent les sources réseau et les prix du tableau Énergie de Home Assistant. En mode cost_mode: real (par défaut), le solaire est compté gratuit ; pour comparer avec des compteurs par tarif, essayez cost_mode: grid. Tout est détaillé dans la nouvelle section « D’où viennent les prix ? » du README.

    Mettre à jour

    Dans HACS → HOLM Energy Cards → Mettre à jour, puis rechargez la page (vider le cache si besoin). Pas besoin de redémarrer Home Assistant.

    Toutes les infos : la fiche HOLM Energy Cards · la version sur GitHub.

    💬 Une question ? Ouvrez une issue sur GitHub.

  • HOLM Energy Cards 1.2.2: correct costs with Tempo, subscription and taxes read from HOLM HP/HC

    HOLM Energy Cards 1.2.2: correct costs with Tempo, subscription and taxes read from HOLM HP/HC

    🇫🇷 Version française

    UPDATE · v1.2.1 and v1.2.2

    The HOLM Energy Cards now calculate correct costs with Tempo and all changing prices, read the subscription and taxes from HOLM HP/HC, and no longer show an error when you add a card.

    HOLM Energy Cards' Energy balance card with the estimated bill

    💶 Correct costs with Tempo (v1.2.1)

    • The cards now use the cost Home Assistant records hour by hour for each Energy dashboard source, at the price in force at that time, like the official Energy dashboard.
    • Before, when a source had a price entity, the current price was applied to the whole history: with Tempo (blue, white, red) or after a tariff change, past costs were wrong.
    • Applies to Consumption by device, Heating & cooling and Energy balance.
    • Thanks to the user who noticed the gap with their peak / off-peak meters!

    🧾 Subscription and taxes read from HOLM HP/HC (v1.2.2)

    • If the HOLM HP/HC integration is installed, the Energy balance reads the monthly subscription, the CSPE / excise duty, the TCFE and the feed-in tax from it.
    • Consumption by device and Heating & cooling read the CSPE and TCFE from it.
    • No need to enter them in each card any more. Values entered in a card still take priority, and holm_tarif: false disables automatic reading.

    🩹 No more error when adding a card (v1.2.2)

    • A card just added, or an Energy dashboard not configured yet, showed Erreur : length of value must be at least 1 at 'statistic_ids'.
    • The card now simply says what to do: choose an entity in the editor, or configure Home Assistant’s Energy dashboard.

    📖 Where do prices come from?

    The cards don’t read your utility meters: they use the grid sources and prices of Home Assistant’s Energy dashboard. In cost_mode: real mode (default), solar is counted as free; to compare with per-tariff meters, try cost_mode: grid. Everything is detailed in the new “Where do prices come from?” section of the README.

    How to update

    In HACS → HOLM Energy Cards → Update, then reload the page (clear the cache if needed). No need to restart Home Assistant.

    All the details: the HOLM Energy Cards page · the release on GitHub.

    💬 A question? Open an issue on GitHub.

  • HOLM Energy Cards 1.2.0 : le vrai coût de chaque appareil et la vue « Dans le temps »

    HOLM Energy Cards 1.2.0 : le vrai coût de chaque appareil et la vue « Dans le temps »

    🇬🇧 English version

    MISE À JOUR · v1.2.0

    La carte Consommation par appareil des HOLM Energy Cards affiche maintenant le vrai coût de chaque appareil sur toute période, et une nouvelle vue « Dans le temps » montre qui consomme, et quand.

    🕒 Nouvelle vue « Dans le temps »

    Vue « Dans le temps » de la carte Consommation par appareil
    • Tous les appareils dans un même graphique : barres empilées par heure, par jour ou par mois selon la période.
    • Au-dessus de chaque barre, l’icône de l’appareil qui consomme le plus : chauffe-eau la nuit, four à midi, borne le soir…
    • Survol (ou toucher) d’une barre : le détail par appareil. La légende est cliquable pour masquer ou réafficher un appareil.
    • Option view: timeline, et timeline_devices pour choisir combien d’appareils sont détaillés (8 par défaut, les autres sont regroupés).

    💶 Le bon coût dans le graphique d’un appareil

    • Le graphique d’un appareil (24 h, 7 j, 30 j, 12 mois ou dates au choix) recalcule maintenant le coût heure par heure, au prix réel de chaque heure.
    • Avant, il reprenait le prix moyen de la période affichée par la carte : sur 12 mois, le coût pouvait être très loin de la réalité.
    • Le coût de chaque barre s’affiche au survol. La carte elle-même calcule à l’heure jusqu’à 31 jours.

    Mettre à jour

    Dans HACS → HOLM Energy Cards → Mettre à jour, puis rechargez la page (vider le cache si besoin). Pas besoin de redémarrer Home Assistant.

    Toutes les infos : la fiche HOLM Energy Cards · la version sur GitHub.

    💬 Une question ? Ouvrez une issue sur GitHub.

  • HOLM Energy Cards 1.2.0: the real cost of each device and the “Over time” view

    HOLM Energy Cards 1.2.0: the real cost of each device and the “Over time” view

    🇫🇷 Version française

    UPDATE · v1.2.0

    The HOLM Energy Cards’ Consumption by device card now shows the real cost of each device over any period, and a new “Over time” view shows who consumes, and when.

    🕒 New “Over time” view

    “Over time” view of the Consumption by device card
    • All devices in a single chart: bars stacked by hour, day or month depending on the period.
    • Above each bar, the icon of the device consuming the most: water heater at night, oven at noon, charger in the evening…
    • Hover (or tap) a bar: the details by device. The legend is clickable to hide or show a device again.
    • view: timeline option, and timeline_devices to choose how many devices are detailed (8 by default, the others are grouped).

    💶 The right cost in a device’s chart

    • A device’s chart (24 h, 7 d, 30 d, 12 months or custom dates) now recalculates the cost hour by hour, at the real price of each hour.
    • Before, it used the average price of the period shown by the card: over 12 months, the cost could be far from reality.
    • Each bar’s cost is shown on hover. The card itself calculates hourly up to 31 days.

    How to update

    In HACS → HOLM Energy Cards → Update, then reload the page (clear the cache if needed). No need to restart Home Assistant.

    All the details: the HOLM Energy Cards page · the release on GitHub.

    💬 A question? Open an issue on GitHub.

  • HOLM Energy Cards : six cartes pour comprendre votre énergie

    HOLM Energy Cards : six cartes pour comprendre votre énergie

    🇬🇧 English version

    CARTES · v1.4.1

    Six cartes pour comprendre votre énergie : ce que vous produisez, achetez et revendez, ce que coûte chaque appareil, le chauffage pièce par pièce, et l’évolution année après année. Elles reprennent tout du tableau Énergie de Home Assistant.

    HOLM Energy Cards : Bilan énergétique
    Le bilan énergétique : production, achats, revente, autoconsommation et facture estimée

    En bref

    • Six cartes dans un seul fichier : une seule ressource à installer.
    • Rien à ressaisir : sources, appareils et prix viennent du tableau Énergie de Home Assistant, avec le coût de chaque heure (juste avec Tempo et les heures pleines / creuses). Abonnement et taxes sont lus dans HOLM HP/HC si elle est installée.
    • Les cartes suivent le sélecteur de date du tableau Énergie (jour, semaine, mois, année), comme les cartes officielles.
    • Éditeur visuel pour toutes les cartes (sauf les Totaux annuels, en YAML).
    • Données issues des statistiques long terme : rapide, et ça remonte aussi loin que votre historique, sans helper.

    📊 Bilan énergétique

    • Production solaire, achats réseau (plusieurs tarifs, par exemple heures pleines / heures creuses) et revente, avec leur coût.
    • Autoconsommation et autosuffisance en anneaux, part consommée sur place et sa valeur.
    • Facture estimée : énergie achetée + abonnement (proratisé à la période) + taxes − revente.

    🔌 Consommation par appareil

    HOLM Energy Cards : Consommation par appareil
    Chaque appareil : kWh, part, coût et mini-graphe, plus le « non mesuré »
    • kWh, part et coût de chaque appareil, tri par kWh, € ou nom.
    • Non mesuré : ce que consomme la maison en dehors des appareils suivis.
    • Coût réel (prix réseau de chaque heure, solaire gratuit), réseau (comme si tout venait du réseau) ou fixe.
    • Un toucher sur un appareil ouvre son graphique : 24 h, 7 j, 30 j, 12 mois ou dates au choix, avec total, coût, moyenne, pic, et la courbe de puissance sur 24 h.

    La vue « Dans le temps » empile tous les appareils dans un même graphique, avec l’icône de celui qui consomme le plus au-dessus de chaque barre : on voit qui consomme, et quand.

    HOLM Energy Cards : vue Dans le temps
    La vue « Dans le temps » : qui consomme, et quand

    ☀️ Production & consommation

    HOLM Energy Cards : Production et consommation
    Énergie heure par heure : solaire consommé, réseau par tarif et revente
    • Vue Énergie : barres par heure (ou par jour) du solaire consommé, du réseau par tarif et de la revente.
    • Vue Puissance : courbes de production et de consommation, avec la prévision solaire si elle est configurée dans le tableau Énergie.
    • Taux d’autoconsommation de la période.

    🌡️ Chauffage & climatisation

    HOLM Energy Cards : Chauffage et climatisation
    Chauffage et clim pièce par pièce, avec leur coût
    • Totaux chauffage et clim, coût et évolution par rapport à la période précédente.
    • Une tuile par pièce avec la répartition chauffage / clim.
    • Graphique en barres pour toute la maison, ou calendrier (carte de chaleur).

    📅 Énergie par année et totaux annuels

    HOLM Energy Cards : Énergie par année
    Une barre par année, la comparaison à date et la projection de l’année en cours
    • Énergie par année : une barre par année, l’année en cours comparée à date à l’an dernier, et la projection de fin d’année.
    • Totaux annuels : le total et les années d’une statistique, en frise verticale.
    HOLM Energy Cards : Totaux annuels
    Les totaux annuels en frise verticale

    Installation

    1. Dans HACS, menu ⋮ → Dépôts personnalisés.
    2. Ajoutez https://github.com/kaaribou/holm-energy-cards, catégorie Tableau de bord.
    3. Recherchez « HOLM Energy Cards » → Télécharger, puis rechargez la page.
    4. Ajoutez les cartes « HOLM – … » depuis le sélecteur de cartes.

    Pas besoin de redémarrer Home Assistant. Tous les détails (options de chaque carte, exemples YAML, FAQ) sont dans le README du projet.

    Historique des versions

    💬 Une question ? Ouvrez une issue sur GitHub : c’est là que je réponds et que je suis les demandes.

    Ce projet fait partie de HOLM — Home Orchestration & Living Management. Il est open source (licence MIT). Une idée, un bug ? Ouvrez une issue sur GitHub. Et si les cartes vous plaisent, vous pouvez m’offrir une bière 🍺

  • HOLM Energy Cards: six cards to understand your energy

    HOLM Energy Cards: six cards to understand your energy

    🇫🇷 Version française

    CARDS · v1.4.1

    Six cards to understand your energy: what you produce, buy and sell, what each device costs, heating room by room, and the trend year after year. They take everything from Home Assistant’s Energy dashboard.

    HOLM Energy Cards: Energy balance
    The energy balance: production, imports, exports, self-consumption and estimated bill

    At a glance

    • Six cards in a single file: only one resource to install.
    • Nothing to re-enter: sources, devices and prices come from Home Assistant’s Energy dashboard, with the cost of each hour (correct with Tempo and peak / off-peak hours). Subscription and taxes are read from HOLM HP/HC if it’s installed.
    • The cards follow the Energy dashboard’s date picker (day, week, month, year), like the official cards.
    • Visual editor for all the cards (except Yearly totals, in YAML).
    • Data from long-term statistics: fast, and it goes back as far as your history, without helpers.

    📊 Energy balance

    • Solar production, grid imports (several tariffs, for example peak / off-peak hours) and exports, with their cost.
    • Self-consumption and self-sufficiency as rings, the share consumed on site and its value.
    • Estimated bill: energy bought + subscription (prorated to the period) + taxes − exports.

    🔌 Consumption by device

    HOLM Energy Cards: Consumption by device
    Each device: kWh, share, cost and sparkline, plus the “unmeasured”
    • kWh, share and cost of each device, sorted by kWh, € or name.
    • Unmeasured: what the house consumes outside the tracked devices.
    • Real cost (grid price of each hour, solar free), grid (as if everything came from the grid) or fixed.
    • A tap on a device opens its chart: 24 h, 7 d, 30 d, 12 months or custom dates, with total, cost, average, peak, and the 24 h power curve.

    The “Over time” view stacks all devices in a single chart, with the icon of the biggest consumer above each bar: you see who consumes, and when.

    HOLM Energy Cards: Over time view
    The “Over time” view: who consumes, and when

    ☀️ Production & consumption

    HOLM Energy Cards: Production and consumption
    Energy hour by hour: solar consumed, grid by tariff and exports
    • Energy view: bars by hour (or by day) of solar consumed, grid by tariff and exports.
    • Power view: production and consumption curves, with the solar forecast if it’s configured in the Energy dashboard.
    • Self-consumption rate for the period.

    🌡️ Heating & cooling

    HOLM Energy Cards: Heating and cooling
    Heating and cooling room by room, with their cost
    • Heating and cooling totals, cost and change compared with the previous period.
    • One tile per room with the heating / cooling split.
    • Bar chart for the whole house, or calendar (heat map).

    📅 Energy by year and yearly totals

    HOLM Energy Cards: Energy by year
    One bar per year, the year-to-date comparison and the current year’s projection
    • Energy by year: one bar per year, the current year compared year-to-date with last year, and the year-end projection.
    • Yearly totals: a statistic’s total and its years, as a vertical timeline.
    HOLM Energy Cards: Yearly totals
    Yearly totals as a vertical timeline

    Installation

    1. In HACS, ⋮ menu → Custom repositories.
    2. Add https://github.com/kaaribou/holm-energy-cards, category Dashboard.
    3. Search for “HOLM Energy Cards” → Download, then reload the page.
    4. Add the “HOLM – …” cards from the card picker.

    No need to restart Home Assistant. All the details (each card’s options, YAML examples, FAQ) are in the project README.

    Version history

    💬 A question? Open an issue on GitHub: that’s where I answer and track requests.

    This project is part of HOLM — Home Orchestration & Living Management. It is open source (MIT licence). An idea, a bug? Open an issue on GitHub. And if you like the cards, you can buy me a beer 🍺