Skip to content

Historic state problem of event entity's attributes #578

Open
@LG-ThinQ-Integration

Description

@LG-ThinQ-Integration

I want to create event entity’s history and view it through the logbook.

  1. Delete the 1st return line.
  2. Add event_type in attributes.
  3. However, as shown in the attached picture, all events have the same attribute value "An error has occurred in the dryer".

Updates are made only when an attribute is toAdd or toRemove, but improvements are needed so that events can be updated at the same time.

    case "event": {
      return localize(`${LOGBOOK_LOCALIZE_PATH}.detected_event_no_type`);
      // TODO: This is not working yet, as we don't get historic attribute values

      const event_type = hass
        .formatEntityAttributeValue(stateObj, "event_type")
        ?.toString();

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions