Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
I fixed the missing devices here home-assistant/core#72122 |
This comment was marked as outdated.
This comment was marked as outdated.
|
Pushed fixes. |
|
Retesting now |
|
Out of scope, but the logbook card doesn't support selecting a device or entity (only entities) |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as outdated.
This comment was marked as outdated.
|
I want to do the device picker for logbook card in another PR because it will require making some decisions. Would you expect to pick a device, and then have it automatically select all entities too? And if we do that, should we even still show the entity picker? And should there be a toggle if the device should only show logbook entries for primary entities or also config/diagnostic? |
I agree 100%. Was only mentioning it for testing completeness.
Sadly since not all entities have devices or come from config entries, I think we have to select both otherwise the user is likely missing out on a lot of entities they probably want to track.
Previous answer applies
Previous answer applies |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
|
There is a bug with minimal responses with the last state that is the cause of #12728 (comment) We replace it with a full state for the frontend but we get the wrong one if we have skipped all the states at the end of the list. Opened #12732 to get the attributes from first state instead of the last. I'm going to remove the code that replaces the last state on the backend with a full state instead of a minimal state so we don't have that complexity as it was only doing so to make the frontend happy |
|
Ok back to testing this. |
diff --git a/src/panels/config/devices/ha-config-device-page.ts b/src/panels/config/devices/ha-config-device-page.ts
index 3c0477573..372334048 100644
--- a/src/panels/config/devices/ha-config-device-page.ts
+++ b/src/panels/config/devices/ha-config-device-page.ts
@@ -594,8 +598,8 @@ export class HaConfigDevicePage extends LitElement {
<ha-logbook
.hass=${this.hass}
.time=${this._logbookTime}
- .entityId=${this._entityIds(entities)}
- .deviceId=${this._deviceIdInList(this.deviceId)}
+ .entityIds=${this._entityIds(entities)}
+ .deviceIds=${this._deviceIdInList(this.deviceId)}
virtualize
narrow
no-icon |
This comment was marked as outdated.
This comment was marked as outdated.
|
Finished testing. Looks like just the missing |
|
✅ Logbook cards |
|
This one is really so cool to see in action. 👍 |



Breaking change
Proposed change
Pass device ID to logbook if available.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: