karlis-vagalis / circular-timer-card

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

Support for call-service on actions #12

Open lexiismadd opened 7 months ago

lexiismadd commented 7 months ago

Hi, Great component, would you consider adding "call-service" as an action for the tap/double tap/etc actions? That way we can use a tap_action to call any other service or even a script. Or simply just use it to start the timer again if we wanted.

Thanks

k4ridt commented 6 months ago

Hello, I was searching for the same function. I want to switch on my sprinkler system for 30 minutes and I want to see the remaining time but I didn't want to use two different cards for that an my dashboard. To use the timer card as a switch I've added two if-then automations. 1. IF timer.sprinkler changes its status from any status to active THEN switch on switch.sprinkler

2. IF timer.sprinkler changes its status from active to any status THEN switch on switch.sprinkler

For me this way is working fine.

dirk-sys commented 5 months ago

+1 (y) Would love this one triggered by other entities. Maybe with included helpers?

woobenjamin commented 4 months ago

+1 from me too