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.
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.
- Download
googletimers-card.js
and right click and save it. - Copy it into the 'www' folder. If 'www' does not exists in your config folder, then just create it.
- Add it to lovelace by going to
lovelace Dashboards
and thenResources
. - and then input
/local/googletimers-card.js
and change resourcetype tojavascript-module
- Restart Home Assistant or clear browser cache.
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 😄