timer-bar-card icon indicating copy to clipboard operation
timer-bar-card copied to clipboard

use last_changed as start_time from input_number

Open jmsblah opened this issue 1 year ago • 0 comments

Describe the bug Is it possible to use last_changed as start_time from the input_number? To workaround that I had to create a second helper, a input_datetime

Your card configuration

type: custom:timer-bar-card
entities:
  - light.kitchen_ucl
duration:
  entity: input_number.kitchen_ucl_remaining
  units: seconds
start_time:
  entity: input_datetime.kitchen_ucl_remaining_datetime
bar_width: 10%
tap_action:
  action: toggle
hold_action:
  action: more-info
debug: true

Debug information image

jmsblah avatar Dec 03 '24 04:12 jmsblah