It will not be a smooth countdown (It will jump some seconds), but it will always be done at the right time.
Make sure you have Home-Assistant Google home integration installed.
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.
googletimers-card.js
and right click and save it.lovelace Dashboards
and then Resources
./local/googletimers-card.js
and change resourcetype to javascript-module
Follow step 1 -> 2 above and then add this to your ui-lovelace.yaml
file.
lovelace:
resources:
- url: /local/googletimers-card.js
type: module
The countdown is done client-side. This means that it will always fire at the correct time.
Name | Type | Default | Supported options | Description |
---|---|---|---|---|
type |
string | Required | custom:googletimers-card |
Type of the card. |
entity |
string | Required | sensor.kitchen_timers |
Has to be a timer sensor from google_home integration. |
title |
string | Optional | Any string that you want | Name displayed in the header. Defaults to the entity name. |
icon |
string | Optional | mdi:kitchen |
Icon displayed in the header. Defaults to the entity icon. |
hide_header |
boolean | false |
true or false |
Whether to show the header or not. |
show_fire_time |
boolean | false |
true or false |
Whether to also show the time when it's done. |
alarms_entity |
string | Optional | sensor.kitchen_alarms |
To show alarms as well. |
type: 'custom:googletimers-card'
entity: sensor.kitchen_timers
alarms_entity: sensor.kitchen_alarms
title: Kitchen
Please open a issue if you have found a bug or even better make a PR if you can fix it :smile: