mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-15 12:34:42 +00:00
Add waze travel time
This commit is contained in:
+15
-6
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user