karlis-vagalis / circular-timer-card

Custom Home Assistant card to display timer countdowns using D3.js
MIT License
37 stars 8 forks source link

Templating bin value #8

Open Tom-ahawk opened 11 months ago

Tom-ahawk commented 11 months ago

It would be nice to be able to template the bin value.

I have a timer set in the GUI using input_number.washing_machine_minutes. So the timer varies accordantly. Please consider making the bins template able.

type: custom:circular-timer-card
entity: timer.washing_machine
layout: minimal
bins:  "{{ states('input_number.washing_machine_minutes')|int(0) }}"
color:
  - '#1e7883'
  - '#a9bdbb'
  - '#ee7256'
jms92100 commented 1 month ago

Templating would be great for every value (name for example)