Une version de sécurité, en préparation de l’arrivée de la carte dans le catalogue HACS par défaut : les noms, lieux et adresses ne peuvent plus casser l’affichage.
🔒 Sécurité
Les noms des personnes, des zones, la dernière position connue, l’adresse du capteur de localisation, la photo, l’unité de distance et le titre sont échappés avant d’être affichés, dans la carte comme dans l’éditeur.
Ces textes viennent souvent d’autres intégrations ou du téléphone : une valeur contenant < ou " s’affiche maintenant telle quelle, sans casser la carte ni exécuter de code.
La couleur color de chaque personne est vérifiée : #e05a8a, rgb(…), hsl(…), var(--ma-variable) ou un nom de couleur ; sinon la couleur de la palette s’applique.
📖 Installation
Le README commence maintenant par la recherche directe de « HOLM Family Card » dans HACS ; le dépôt personnalisé reste possible en attendant.
Mettre à jour
Mettez à jour via HACS, puis rechargez la page (Ctrl + F5).
A security release, ahead of the card joining the default HACS catalog: names, places and addresses can no longer break the display.
🔒 Security
Person names, zone names, the last known position, the address from the location sensor, the picture, the distance unit and the title are escaped before being displayed, in the card and in the editor.
These texts often come from other integrations or from the phone: a value containing < or " is now shown as is, without breaking the card or running code.
Each person’s color is validated: #e05a8a, rgb(…), hsl(…), var(--my-variable) or a colour name; otherwise the palette colour is used.
📖 Installation
The README now starts with searching for “HOLM Family Card” directly in HACS; the custom repository is still available in the meantime.
Update
Update through HACS, then reload the page (Ctrl + F5).
Qui est où, en un coup d’œil : à la maison, en route, à l’école… avec la distance, le sens du trajet et la batterie du téléphone. On choisit les personnes dans l’éditeur, la carte trouve le reste toute seule.
HOLM Family Card : lieu, depuis quand, distance, sens du trajet et batterie (personnes fictives)
En bref
🏠 Résumé en haut de la carte : « 1 à la maison · 2 dehors ».
📍 Lieu : la zone Home Assistant (Maison, École, Travail…) ou « En déplacement » avec l’adresse, et depuis quelle heure.
🧭 Proximité : distance à la maison et sens du trajet (se rapproche, s’éloigne, arrivé).
📶 Wi-Fi de la maison : un téléphone connecté au Wi-Fi compte comme « à la maison », même si le GPS traîne.
⏱️ Position trop ancienne : au-delà d’un délai réglable, la carte n’affirme plus rien et affiche « Dernière position … il y a 5 h — suivi coupé ».
🔋 Batterie du téléphone, en rouge sous 20 %, et une alerte si l’application ne répond plus.
👆 Un toucher ouvre la fiche de la personne ou de sa batterie.
Zéro YAML
La carte part des entités person de Home Assistant. Il suffit de choisir les personnes dans l’éditeur visuel : la batterie et l’adresse du téléphone (application Home Assistant) et les capteurs de l’intégration Proximité sont trouvés automatiquement. Chaque personne peut avoir sa couleur, et ses traqueurs Wi-Fi du routeur.
Installation
Dans HACS, menu ⋮ → Dépôts personnalisés, ajoutez https://github.com/kaaribou/holm-family-card, catégorie Tableau de bord.
Recherchez « HOLM Family Card » → Télécharger, puis rechargez la page.
Ajoutez la carte à un tableau de bord et choisissez les personnes.
Pour la distance et le sens du trajet, ajoutez l’intégration Proximité ; pour la batterie et l’adresse, activez les capteurs « Niveau de batterie » et « Emplacement géocodé » de l’application Home Assistant du téléphone. Toutes les options sont dans le README du projet.
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 la carte vous plaît, vous pouvez m’offrir une bière 🍺
Who is where, at a glance: at home, on the road, at school… with the distance, the direction of travel and the phone’s battery. You pick the people in the editor, the card finds the rest on its own.
HOLM Family Card: place, since when, distance, direction of travel and battery (fictional people)
At a glance
🏠 Summary at the top of the card: “1 at home · 2 out”.
📍 Place: the Home Assistant zone (Home, School, Work…) or “Away” with the address, and since what time.
🧭 Proximity: distance to home and direction of travel (getting closer, moving away, arrived).
📶 Home Wi-Fi: a phone connected to the Wi-Fi counts as “at home”, even if the GPS lags.
⏱️ Position too old: beyond an adjustable delay, the card no longer claims anything and shows “Last position … 5 h ago — tracking off”.
🔋 Phone battery, in red below 20%, and an alert if the app stops responding.
👆 A tap opens the person’s or their battery’s details.
Zero YAML
The card starts from Home Assistant’s person entities. Just pick the people in the visual editor: the phone’s battery and address (Home Assistant app) and the Proximity integration’s sensors are found automatically. Each person can have their colour, and their router Wi-Fi trackers.
Installation
In HACS, ⋮ menu → Custom repositories, add https://github.com/kaaribou/holm-family-card, category Dashboard.
Search for “HOLM Family Card” → Download, then reload the page.
Add the card to a dashboard and pick the people.
For the distance and direction of travel, add the Proximity integration; for the battery and address, enable the “Battery level” and “Geocoded location” sensors of the phone’s Home Assistant app. All the options are in the project README.
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 card, you can buy me a beer 🍺