logbook-card icon indicating copy to clipboard operation
logbook-card copied to clipboard

Attributes are not populating in card

Open shiitbiird opened this issue 2 years ago • 2 comments

Love this card. I'm having an issue where the attributes of an entity are not populating in the card. It seemed to work for a couple hours and then stopped. The sensors are working fine and populating data, however they are not being shown in the logbook-card.

Here is my card config:

type: custom:multiple-logbook-card
card_mod:
  style: |
    ha-card .item {
      font-weight: normal; 
    }
    ha-card .item .attribute:first-of-type {
      font-weight: bold;
    }
entities:
  - type: section
    label: Feeding Information
    entity: sensor.asher_ace_last_feeding
    attributes:
      - value: start
        label: Time
      - value: amount
        label: Feed Amount (mL)
      - value: type
        label: Feed Type
      - value: method
        label: Feed Method
      - value: duration
        label: Feed Duration
      - value: notes
        label: Notes
  - type: section
    label: Pumping Information
    entity: sensor.asher_ace_last_pumping
    attributes:
      - value: start
        label: Time
      - value: amount
        label: Pump Amount (mL)
      - value: duration
        label: Pump Duration
      - value: notes
  - type: section
    label: Diaper Change Information
    entity: sensor.asher_ace_last_change
    attributes:
      - value: time
      - value: descriptive
        label: Diaper Type
      - value: notes
show:
  state: false
  duration: false
  start_date: false
  end_date: false
  icon: true
  separator: true
  entity_name: false

Screenshot 2024-03-01 at 2 38 33 PM

Screenshot 2024-03-01 at 2 39 37 PM

I have the most updated version of the card via HACS.

Thanks!

shiitbiird avatar Mar 01 '24 22:03 shiitbiird

Hello,

i don't undestand what's wrong here.

As I can see, the attributes configured for sensor.asher_ace_last_pumping and sensor.asher_ace_last_change are displayed. What is missing ?

royto avatar Mar 06 '24 21:03 royto

Any updates?

royto avatar Mar 24 '24 19:03 royto