Skip to content

Latest commit

 

History

History
87 lines (66 loc) · 2.63 KB

README.md

File metadata and controls

87 lines (66 loc) · 2.63 KB

Waze Card for Home Assistant

Features

  • Show distance and duration for a list of waze routes
  • Click on route to open Waze app
  • Show best route to take
  • Supports Metric and Imperial systems via HA global settings

Track Updates

This custom card can be tracked with the help of custom-updater.

In your configuration.yaml

custom_updater:
  card_urls:
    - https://raw.githubusercontent.com/ljmerza/waze-card/master/custom_updater.json

Usage

Prerequisites

You should have setup Waze integration and zones in HomeAssistant.

Options

Name Type Requirement Default Description
type string Required custom:waze-card
header boolean Optional true show header
title string Optional Waze Routes Header text shown at top of card
entities object Required List of routes to display
columns list Optional name, distance, duration, route Which columns to display
custom_distance string Optional Override HA distance unit settings (set to km or mi)
custom_distance_units string Optional HA default setting Override units string (km or mi)

`entities` Options:

Name Type Requirement Default Description
entity string Required The waze sensor entity to use
zone string Optional Used to enable click to open waze app (needs coordinates to work)
name string Optional friendly_name from Waze config The name of the route

Configuration

Download waze-card.js from the latest release and upload it your /www folder of your Home Assistant config directory.

In your ui-lovelace.yaml

resources:
  - url: /local/waze-card/waze-card.js?v=2.0.0
    type: js

Add the custom card to views:

views:
  cards:
    - type: custom:waze-card
      entities:
        - entity: sensor.waze_home # used to show data on card
          zone: zone.home # needed to get lat/long for clicking on waze route
          name: Home
        - entity: sensor.waze_work
          zone: zone.work
          name: Work

or minimum setup (disables clicking to open waze):

views:
  cards:
    - type: custom:waze-cardq
      entities:
        - entity: sensor.waze_home
        - entity: sensor.waze_work