Skip to content
Home Assistant Lovelace card for Waze Travel Time Sensor
TypeScript
Branch: master
Clone or download
Renato Rossi
Renato Rossi Initial stable version
Latest commit 48a87a5 Nov 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Initial stable version Oct 20, 2019
md.images Initial stable version Oct 20, 2019
src Initial stable version Oct 20, 2019
.eslintrc.yaml Initial stable version Oct 13, 2019
.gitignore Initial stable version Oct 13, 2019
.npmignore Initial stable version Oct 13, 2019
CHANGELOG.md Initial stable version Oct 14, 2019
LICENSE Initial stable version Oct 14, 2019
README.md Initial stable version Nov 3, 2019
hacs.json Initial stable version Oct 14, 2019
info.md Initial stable version Nov 5, 2019
package.json Initial stable version Oct 13, 2019
tsconfig.json Initial stable version Oct 13, 2019

README.md

HA (Lovelace) Card Waze Travel Time

hacs_badge

License Total alerts Language grade: JavaScript

BuyMeCoffee

Features

  • Display multiple Waze routes sensor
  • Show distance and duration
  • Show best route to take
  • Opening the Waze App on route click
  • Supports Metric and Imperial systems via HA global settings

Card Configuration

Import the card using:

resources:
  - url: /community_plugin/ha-card-waze-travel-time/ha-card-waze-travel-time.js
    type: module

Card variables

Name Type Requirement Default Description
type string Required Card type must be custom:ha-card-waze-travel-time
header boolean Optional true Hide/show route columns header
name string Optional Card name shown on top the routes
columns string list Optional to, distance, duration, icon Ordered list of columns to display. Valid values: from, to, distance, duration, icon, route
destinations object list Required List of destination objects to display

Destination object

Name Type Requirement Description
entity string Required The waze sensor entitiy
from string Optional Route from
to string Required Route destination name

Examples

type: custom:card-modder
card:
  type: custom:ha-card-waze-travel-time
  header: false
  name: "Route to..."
  columns:
    - from
    - to
    - duration
    - distance
    - icon
  destinations:
    - entity: sensor.waze_home_1_workplace
      from: "Place 1"
      to: "Place 2"
    - entity: sensor.waze_home_2_workplace
      to: "Place 3"
style:
  background-repeat: no-repeat
  background-color: rgba(50,50,50,0.3)
  background-size: 100% 300px
  border-radius: 20px
  border: solid 1px rgba(100,100,100,0.3)
  box-shadow: 3px 3px rgba(0,0,0,0.4)

Home Assistant lovelace card

You can’t perform that action at this time.