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

Definition of entity time spacing and legend time spacing #7

Closed
FragMenthor opened this issue Jun 21, 2022 · 1 comment · Fixed by #56
Closed

Definition of entity time spacing and legend time spacing #7

FragMenthor opened this issue Jun 21, 2022 · 1 comment · Fixed by #56

Comments

@FragMenthor
Copy link

Some weather entities provide weather not in hour-by-hour, but sometimes 2-2h, 4-4h, etc..
Example:
Screenshot_2022-06-21-23-27-51-754_io homeassistant companion android

This could be solved with 2 more options:

  • entity_time_spacing: would define the time (h) between previsions of the weather entity
  • legend_time_spacing: (h) would define the legend that actually shows underneath to be only from x (h) in x (h). This could allow to have a bar that covers more hours, but keeping the legend readable.

Thanks for you work, and sorry to trying to put you to more of it, but if it improves and serves more options it would be wonderful! 🙏

@decompil3d
Copy link
Owner

I think it'll be better to just make the card understand the actual time spacing between the forecast entries. That way, num_hours will be accurate. This is on my todo list when I have time to invest in this card. Or someone can feel free to contribute a PR.

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

Successfully merging a pull request may close this issue.

2 participants