Conversation
|
For the layout, can we put the time above the line for the logbook? |
|
Yea I can probably add a narrow layout to the log book |
| const yesterday = new Date(new Date().getTime() - 24 * 60 * 60 * 1000); | ||
| const now = new Date(); | ||
| const [entries] = await Promise.all([ | ||
| getLogbookData( |
There was a problem hiding this comment.
We will need to teach getLogbookData to pass the entity_matches_only (only in this case) to use home-assistant/core#39555
|
Also no harm in merging this before the backend is done as it will just be ~2x slower until the backend change is done. |
Co-authored-by: J. Nick Koston <nick@koston.org>
|
|
||
| private async _refreshData(): Promise<void> { | ||
| this._isLoading = true; | ||
| this._fetchPersonNames(); |
There was a problem hiding this comment.
We only need to do this when person entities changed
There was a problem hiding this comment.
How do we know they changed?
There was a problem hiding this comment.
Check for state changes, but might not be worth the trouble, never mind.
There was a problem hiding this comment.
Should I just fetch it once on first updated and not worry about it?
572660e to
524685c
Compare



Proposed change
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: