royto / logbook-card

Logbook card for Home Assistant UI Lovelace
GNU General Public License v3.0
197 stars 9 forks source link

Hidden state feature not working #98

Closed rlinick closed 9 months ago

rlinick commented 9 months ago

Describe the bug While attempting to use hidden_state feature to hide "closed" state entries from the log, nothing appears to change.

To Reproduce Steps to reproduce the behavior: See card configuration.

Expected behavior All closed state entries should not be displayed.

Screenshots image

Environment (please complete the following information):

Card configuration

type: custom:multiple-logbook-card
desc: true
entities:
  - entity: binary_sensor.front_door
    hidden_state:
      - closed
  - entity: binary_sensor.back_door
    hidden_state:
      - closed
title: Front Door
date_format: dd/MM hh:mm

Additional context Add any other context about the problem here.

royto commented 9 months ago

States for binary sensor are on and off. They are translated depending on the device class.

Try to use off instead of closed

rlinick commented 9 months ago

facepalm

Thank you so much!