Home

Awesome

DEPRECATED

As the main integration does not work for me anymore, i won't be updating this. Feel free to fork, copy or ask to be a collaborator here if you want to maintain this.


Original Readme

<p align="center"> <img src="https://brands.home-assistant.io/google_home/icon.png" height="150"></img> </p>

Card for Home Assistant Google Home integration

Important to know!

It will not be a smooth countdown (It will jump some seconds), but it will always be done at the right time.

Installation

Prerequisites

Make sure you have Home-Assistant Google home integration installed.

HACS

Since the integration is under active development, it is not yet added to HACS default repository, only manual installation is available for early testers

To install the integration follow HACS description to add custom repository. Provide https://github.com/DurgNomis-drol/google_home_timers_card as repository URL and select the "Lovelace" category. We recommend you select the latest release.

Manual installation

  1. Download googletimers-card.js and right click and save it.
  2. Copy it into the 'www' folder. If 'www' does not exists in your config folder, then just create it.
  3. Add it to lovelace by going to lovelace Dashboards and then Resources.
  4. and then input /local/googletimers-card.js and change resourcetype to javascript-module
  5. Restart Home Assistant or clear browser cache.

YAML installation - Not recommended

Follow step 1 -> 2 above and then add this to your ui-lovelace.yaml file.

lovelace:
  resources:
    - url: /local/googletimers-card.js
      type: module

Usage

The countdown is done client-side. This means that it will always fire at the correct time.

Options

NameTypeDefaultSupported optionsDescription
typestringRequiredcustom:googletimers-cardType of the card.
entitystringRequiredsensor.kitchen_timersHas to be a timer sensor from google_home integration.
titlestringOptionalAny string that you wantName displayed in the header. Defaults to the entity name.
iconstringOptionalmdi:kitchenIcon displayed in the header. Defaults to the entity icon.
hide_headerbooleanfalsetrue or falseWhether to show the header or not.
show_fire_timebooleanfalsetrue or falseWhether to also show the time when it's done.
alarms_entitystringOptionalsensor.kitchen_alarmsTo show alarms as well.

Example

type: 'custom:googletimers-card'
entity: sensor.kitchen_timers
alarms_entity: sensor.kitchen_alarms
title: Kitchen
<p align="center"> <img src="/images/example.png"> </p>

Bugs/Features

Please open a issue if you have found a bug or even better make a PR if you can fix it :smile: