-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set a specific time in modifications #21
Comments
Hmm this is a good suggestion. I predict once I allow for specifying a specific amount of time left, I'll get another issue specifying for a specific amount of time elapsed. I'm going to have to think about how I can support all these cases and not make the configuration schema too crazy. |
Thanks! :) |
Btw, I sat and testing different timers, and for example a timer with five minutes, I couldn't guess the percentage that will be = 10 seconds, 96 is 11 seconds, and 95 is 8 :( |
I think fractions should work, if you want to try something like 95.5! |
Oh, thanks homie, I will try this. 👍 |
|
Btw, just now it dawned on me, I thought that I was picking up icons with percentages equal to 10 seconds, ok, but what if I use different values in automations, and assign a different timer interval depending, for example, on the time of day - then... then, my proposal really has a sense :) |
I think I finally have a good syntax for this: modifications:
- elapsed: 40% # equivalent to the old way of greater_than_eq: 40
bar_foreground: orange
active_icon: mdi:fire
bar_height: 12px
- elapsed: 00:00:50 # at least 50 seconds since the timer started
bar_foreground: red
active_icon: mdi:fire-alert
- remaining: 00:00:10 # when timer has 10 seconds remaining or less
...
- remaining: 1% # when timer has 1% of duration remaining or less
... I'm removing |
Dope! It's very comfortably! Thanks. |
Closing now that this is implemented in v1.14! Thank you for the suggestion! |
It would be great if we could specify a specific amount of time left, for example 10 seconds before the end:
In above example, I find 10 seconds like 94% from my 3 minutes timer :)
The text was updated successfully, but these errors were encountered: