-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Timeline history graph - react to click to display entity more info #17994
Conversation
Hello @k3a, When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es). The commits that are missing a linked GitHub account are the following:
Unfortunately, we are unable to accept this pull request until this situation is corrected. Here are your options:
We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community. Thanks, I look forward to checking this PR again soon! ❤️ |
a6d8982
to
a297077
Compare
a297077
to
2624cb3
Compare
Thanks for the suggestion! I have updated it to match the way It is now implemented in |
We should prevent the action when the graph is the more info itself, as it will give a weird behaviour of opening the more info again. |
…for the displayed entity
2624cb3
to
f46d521
Compare
I have added I was considering adding If you think more-info handler could be useful for the line history graph too, I can rework it into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Actually please take a look at alternative PR #18036 which supports both chart types. I think it makes more sense unless you plan to have some other clicking function on line history state chart in the future. |
Proposed change
The timeline history graph card is great, however it lacks details.
Sometimes the intervals between changes are short (as in door sensors), and sometimes the sensor is unavailable for a short period of time, which is not very obvious from the graph.
Therefore, I enhanced the chart by adding a small inline plugin to handle clicking on a timeline element and firing "hass-more-info" to display the More info dialog of the displayed entity.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: