Add waze travel time

This commit is contained in:
2020-03-05 22:27:59 +02:00
parent 9a776f910f
commit 76a8f43427
3 changed files with 29 additions and 6 deletions
+15 -6
View File
@@ -45,12 +45,6 @@ cards:
- entity: device_tracker.tile_1bcb2b3021b9f96b
show_header_toggle: false
- type: "custom:weather-card"
current: true
details: true
entity: weather.dark_sky
forecast: true
- type: "custom:mini-media-player"
artwork: cover
entity: media_player.master_bedroom
@@ -64,6 +58,21 @@ cards:
show_source: true
source: full
- type: "custom:weather-card"
current: true
details: true
entity: weather.dark_sky
forecast: true
- type: "custom:travel-time-card"
title: "Travel time"
columns:
- name
- duration
- distance
entities:
- entity: sensor.home_to_work
- type: entities
title: Misc Badges
entities:
+12
View File
@@ -0,0 +1,12 @@
sensor:
- platform: waze_travel_time
name: Home to work
origin: zone.home
destination: zone.work
region: "EU"
- platform: waze_travel_time
name: Work to home
origin: zone.work
destination: zone.home
region: "EU"
+2
View File
@@ -4,6 +4,8 @@ custom_header:
hide_help: true
hide_unused: true
resources:
- type: js
url: /hacsfiles/travel-time-card/travel-time-card.js
- type: module
url: /hacsfiles/lovelace-gui-sandbox/gui-sandbox.js
- type: module