From 69ba8332ce8805e6eeaeb51e8baccf6ad38d9949 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Mon, 9 Mar 2020 00:34:47 +0200 Subject: [PATCH] Add aftership sensor and card --- lovelace/00_home.yaml | 4 ++++ packages/sensors/aftership.yaml | 3 +++ ui-lovelace.yaml | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 packages/sensors/aftership.yaml diff --git a/lovelace/00_home.yaml b/lovelace/00_home.yaml index 60e9d1f..9ca5bb9 100644 --- a/lovelace/00_home.yaml +++ b/lovelace/00_home.yaml @@ -97,6 +97,10 @@ cards: entity: weather.dark_sky forecast: true + - type: "custom:aftership-card" + entity: sensor.aftership + title: Packages + - type: "custom:travel-time-card" title: "Travel time" columns: diff --git a/packages/sensors/aftership.yaml b/packages/sensors/aftership.yaml new file mode 100644 index 0000000..9fa9617 --- /dev/null +++ b/packages/sensors/aftership.yaml @@ -0,0 +1,3 @@ +sensor: + - platform: aftership + api_key: !secret aftership_key diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index dbb54f9..7510811 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -26,6 +26,8 @@ resources: url: /community_plugin/mini-graph-card/mini-graph-card-bundle.js - type: module url: /community_plugin/mini-media-player/mini-media-player-bundle.js + - type: module + url: /hacsfiles/aftership-card/aftership-card.js title: Sarah views: - !include lovelace/00_home.yaml