Entity_picture, recorder, logbook

Consider a sensor:

template:
  - binary_sensor:
      - name: testing_logbook_sensor_with_image
        state: >-
          {{ states('input_boolean.test_boolean') }}
        picture: >-
          {% if is_state('input_boolean.test_boolean','on') -%}
          /local/images/test/orange.jpg
          {%- else -%}
          /local/images/test/blue.jpg
          {%- endif %}

A logic is simple:

  • ON, orange image
  • OFF, blue image

What is stored in DB - 2 types of records inside “state_attributes”:


And here is a logbook:

type: logbook
entities:
  - binary_sensor.testing_logbook_sensor_with_image
hours_to_show: 1

Untitled Project

Seems that Logbook ignores “entity_picture” data from DB and uses the last value.
I recall a related discussion on Github after ~2022.6.
I wonder why Logbook cannot at least attempt to show an image based on a corresponding URL.

No feedback. registered in issue:

Compare with a custom:logbook-card:

352216241-e90824d8-8c4d-4622-a4be-e8c512ae97db-1