Home

Awesome

hacs_badge

Flipdown Timer Card

Card for timer entities in the Lovelace user interface of Home Assistant Default

Features

Installation

Configuration

NameTypeRequirementDescriptionDefault
typestringRequiredcustom:flipdown-timer-card
entitystringRequiredTimer, Input_datetime(with both date and time) entity
durationstringOptionalTimer duration indicated when idle. Should be 'hh:mm:ss'
themestringOptionalColorscheme hass, dark, lighthass
show_titlebooleanOptionalShow card titlefalse
show_headerbooleanOptionalShow rotor headingsfalse
show_hourstringOptionalShow hour rotors true, false, autofalse
stylesobjectOptionalCard style
localizeobjectOptionalCard text localization

Duration

Home Assistant timer updates default duration whenever timer starts. if duration is set on this card, it will override default timer duration when idle.

Auto Hours

Set show_hour to auto to enable auto hours. It toggles between HH:MM and MM:SS mode depend on remaining time. HH:MM will be displayed when in idle state. To know what is being displayed, it is recommned to enable the headers.

Input_datetime(Or non-timer) entity

If the input_datetime entities have both time and date, the timer will work toward it.

Styles Object

<table> <thead> <tr> <th>Object</th> <th>key</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td rowspan=3>rotor</td> <td>width</td> <td>single rotor width</td> <td>50px</td> </tr> <tr> <td>height</td> <td>single rotor height</td> <td>80px</td> </tr> <tr> <td>fontsize</td> <td>font size on rotors</td> <td>4rem</td> </tr> <tr> <td rowspan=4>button</td> <td>width</td> <td>button width</td> <td>50px</td> </tr> <tr> <td>height</td> <td>button height(only works when button position is below)</td> <td>20px</td> </tr> <tr> <td>location</td> <td>button location : right, bottom, hide</td> <td>right</td> </tr> <tr> <td>fontsize</td> <td>font size on buttons</td> <td>1em</td> </tr> </tbody> </table>

Localize Object

Localize(customize) strings on buttons and headings.

KeyValue
buttonstart, stop, cancel, resume, reset in your language(5 words)
headerHours, Minutes, Seconds in your language(3 words)

Full Example

type: custom:flipdown-timer-card
entity: timer.timer
show_hour: false
show_title: false
show_header: false
theme: dark
duration: "00:00:00"
localize:
  button: 시작, 정지, 취소, 계속, 리셋
  header: 시, 분, 초
styles:
  rotor:
    width: 60px
    height: 80px
    fontsize: 4rem
  button:
    width: 60px
    height: 30px
    fontsize: 1.5em
    location: bottom

Notes

Credits