Home Assistant Lovelace card for PostNL.
WARNING: This card is not compatible with the current Home Assistant component. Please read this topic: https://community.home-assistant.io/t/lovelace-postnl/112433
lovelace-postnl.js
from the latest release and store it in your configuration/www
folder.resources:
- url: /local/postnl-card.js
type: module
HACS
(Recommended)resources:
- url: /community_plugin/lovelace-postnl-card/postnl-card.js
type: module
custom updater
(Deprecated)Add a new reference under card_urls
in your custom_updater
configuration in configuration.yaml
.
custom_updater:
card_urls:
- https://raw.githubusercontent.com/peternijssen/lovelace-postnl/master/tracker.json
resources:
- url: /customcards/postnl-card.js
type: module
custom_updater.check_all
or click the "CHECK" button if you use the tracker-card.cards:
- type: "custom:postnl-card"
delivery: sensor.postnl_delivery
distribution: sensor.postnl_distribution
letters: sensor.postnl_letters
hide:
delivered: false
first_letter: false
header: false
date_format: "DD MMM YYYY"
time_format: "HH:mm"
past_days: 1
Name | Type | Default | Since | Description |
---|---|---|---|---|
delivery | string | - | v0.8 | The delivery sensor. Don't add this if you are not interested in package deliveries |
distribution | string | - | v0.8 | The distribution sensor. Don't add this if you are not interested in package distribution |
letters | string | - | v0.8 | The letters sensor. Don't add this if you are not interested in letters |
name | string | PostNL | v0.8 | Override the card name |
icon | string | mdi:mailbox | v0.8 | Icon next to the card name |
hide | object | object | v0.8 | Control specifically information fields to show. |
date_format | string | DD MMM YYYY | v0.9 | Overrides the default date format. |
time_format | string | HH:mm | v0.9 | Overrides the default time format. |
past_days | integer | 1 | v0.9 | Defines how many days you want to see from the past. |
Name | Type | Default | Since | Description |
---|---|---|---|---|
delivered | bool | false | v0.8 | Controls if you want to show packages that are delivered already |
first_letter | bool | false | v0.8 | Controls if you want to show the image of the very first letter |
header | bool | false | v0.9 | Controls if it displays the top most header |