Skip to content

How to display an HA timer countdown in a notification: section? #792

Answered by ngocjohn
danielbrunt57 asked this question in Q&A
Discussion options

You must be logged in to vote

there is a workaround for it, use another button card as a custom fields. here is an example, just play with css according to your needs.


      custom_fields:
        timer:
          card:
            type: custom:button-card
            entity: timer.dishwasher_remaining
            aspect_ratio: 1/1
            show_icon: false
            show_state: true
            show_name: false
      styles:
        custom_fields:
          timer:
            - display: block
            - position: absolute
            - top: '-10%'
            - right: 0%
            - width: 45%
            - background-color: 'rgb(3, 169, 244)'
            - border-radius: 50%

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@danielbrunt57
Comment options

@larryo108
Comment options

@danielbrunt57
Comment options

Answer selected by danielbrunt57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants