Skip to content
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

Possibility to configure timer resolution #75

Closed
jensrossbach opened this issue Mar 8, 2023 · 4 comments
Closed

Possibility to configure timer resolution #75

jensrossbach opened this issue Mar 8, 2023 · 4 comments

Comments

@jensrossbach
Copy link

Hello,

I would like to have the possibility to configure the resolution/granularity of the timer. I'm using the timer bar card to display the progress of my dishwasher and my washing machine. But for these devices, I don't need seconds granularity as the duration of the programs is anyway in the range of one to several hours. It would be totally sufficient to have a resolution of minutes. Therefore, could you add an option to set the timer granularity? It would also help with the space used on the card for the display of the remaining time because in case of minutes resolution, you have no seconds and you could still use a form with two parts like "hh:mm".

Best regards,
Jens

@rianadon
Copy link
Owner

rianadon commented Mar 8, 2023

Great idea! I should've thought of this long ago.

@igorsantos07
Copy link
Contributor

igorsantos07 commented Jun 2, 2023

Same here. My suggestion would be to show seconds only when less than 60min, so you always end up with two time pieces. I wonder if it's worthy to have a setting for that (so it's not a breaking change) or something that could be the default (really, no need of seconds at all when you're seeing a timer that spans more than an hour....... right?)

Use cases I've seen so far on my dashboard:

  • washing machines
  • towel heater
  • pet food dispenser

@bphirsh
Copy link

bphirsh commented Jun 5, 2023

+1, was also looking to hide seconds for my 4-hours of air purification.

@rianadon
Copy link
Owner

Same here. My suggestion would be to show seconds only when less than 60min, so you always end up with two time pieces. I wonder if it's worthy to have a setting for that (so it's not a breaking change) or something that could be the default (really, no need of seconds at all when you're seeing a timer that spans more than an hour....... right?)

Good suggestion! I think having a setting to switch between a resolution of seconds/minutes/automatic would be a great idea. Personally I worry about automatic since at first glance it's unclear whether the timer is in minutes or seconds, but after a few seconds you'd know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants