Add "last_changed" and "last_updated" to dev tools state view#7375
Merged
bramkragten merged 5 commits intohome-assistant:devfrom Nov 5, 2020
Merged
Add "last_changed" and "last_updated" to dev tools state view#7375bramkragten merged 5 commits intohome-assistant:devfrom
bramkragten merged 5 commits intohome-assistant:devfrom
Conversation
Member
|
Not to sure about this, it makes it a lot harder to scan for states |
Member
Author
|
Initially I had though about adding another column for those timestamps, but since most entities anyway have multiple lines of attributes, there was always unused space in the state column which felt better. Reg. scanning of states: If you are looking for something specific you would anyway use the column filters, wouldn't you? |
Member
|
What if I don't know what I'm looking for, and want to see the differences |
Member
Author
|
Even then I think it is not "too bad" since the timestamps in term of visual outline are always the same size, so I feel scanning through still works reasonably well. But I get your overall point... So options are:
|
Member
|
Try using |
Member
Author
bramkragten
reviewed
Nov 2, 2020
bramkragten
approved these changes
Nov 2, 2020
9 tasks
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Breaking change
Proposed change
Currently there is no easy way to see those timestamps. Now there is. I decided against formatting the values and instead just added the default ISO format since we are talking about dev tools.
The filter for the state column still only looks at the actual state value, so no negative impact here.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: