Skip to content

Device state-change log: show full Light Card from payload, not only changed field #94

@tashda

Description

@tashda

Description

When viewing a state-change log entry for a light device, the formatted view currently only shows the field that changed (e.g. `state: OFF → ON`). The MQTT payload typically contains the full light state — brightness, color_mode, color_temp, color (xy/hue/sat), etc. — and all of that should populate the Light Card in the log detail.

Expected

Render the Light Card with every relevant light field present in the payload, regardless of which field triggered the change. The card should reflect the complete state at the moment the log was emitted, with the changed field optionally emphasized.

The raw payload remains available via the `{ }` toolbar toggle.

Actual

Only the field that changed is displayed; brightness, color, color_temp, etc. are dropped from the Light Card even when present in the payload.

Note

Pair with #94 — groups should get the same treatment.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions