Hello and welcome to our little house of horror!
First of all, please take a moment to read the guide lines for this forum. The code you posted must be formatted correctly, otherwise we can’t see, if there are errors in the YAML. And YAML is unfortunately really picky with indentation…
See here:
But what your code shows, you’re trying to run the timer-bar-card with a script, if I’m interpreting that right. That won’t work, you need a timer
. So what you want looks like you need to setup a timer and start it. That timer is, what the card shows.
Maybe you could explain a little more on what you want to do, so we can help there.