Lovelace: Home Feed Card

Could someone please explain the timestamp_property and these Questions?

  • Does this option overwrites the source of the “10 minutes ago” info?
  • Do I have to use it with multiple_items: true? I’ve only seen timestamp_property in context with it
  • Can I use any ISO format or does it have to be time only or so?

My sensors attributes look like this:

created: '2021-04-20T12:46:00'
friendly_name: notify-waste
icon: 'mdi:delete-empty'

and my card config like this:

type: 'custom:home-feed-card'
show_empty: false
id_filter: ^home_feed_.*
entities:
  - entity: sensor.notify_waste
    max_history: 1
    include_history: true
    remove_repeats: true
    content_template: '{{state}}'
    timestamp_property: created
  • what am I doing wrong?
    Thanks!

My home feed cards all just stopped working with the latest HA June beta. Lovelace starts to load and then turns blank. Same on all my computers and all devices. Not a cache issue. Commenting out the cards allows Lovelace to load correctly. I have not made any changes to the cards or my system so I don’t think the issue is on my end.
Anyone else savings this?

I’ve published a new beta of this, 0.6.0b1, which uses an embedded lit-element to avoid this issue.
Can you please give that a go and let me know if it works for you?

2 Likes

Thanks for the quick fix. Working again.

With the new release 2021.6, I’m having this issue as well.

Mine are working with the .6.0b1.

1 Like

I’ve updated to the beta and it is loading now. Thanks!

I am experiencing this issue too - do you plan to publish the beta via HACS?

Kind thoughts,

Andrew

The beta (0.6.0b1) was available via HACS if you have the beta releases option enabled, I have now published it to release (0.6.0).
If you have updated to that version and still have issues, you may need to clear the cache in the browser (this is sometimes necessary when updating).

Somthing is wrong with the documentation, or the card itself.
Because if I space out from the next element after “type:” I get an error.
If I keep it in the same line it works.

Thanks for spotting that, it was the documentation which was wrong and I’ve fixed it now.

1 Like

Sorry, but where do i have to activate the beta releases? Currently with version 0.6.0 i have the issue as @bschatzow describes it.

Good, and fast response @Steven_Rollason :slight_smile:

Another question.
Is there a way to only show the event in the feed if the entity changes state to somthing specific?
Like: Only show when light.outside turn on, but not when it is turning of

Version 0.6.0 should be identical to 0.6.0b1, it is the same code published as a non-Beta version.
Have you tried clearing the cache in the web browser (or, if you use Chrome, use Developer Tools and the “Emty cache and hard reload” option on the reload button)? That is sometimes needed.

For future, to allow beta versions you need to use the Reinstall option for that card in HACS, make sure that the “Show beta versions” toggle is on, and then click on Install.

It seems to work now, yesterday it didn’t. I thought I did the “hard” reload yesterday . Anyway… Thank you for the reply :slight_smile:

This card is really great.
The only problem is when I want to see the history of an entity:

…The custom element doesn’t exist: hui-history-graph-card

I did a search in the home assistant community but no luck.
Does anyone have the same problem?

1 Like

I’ve released a new beta version, 0.6.3b2, which preloads more elements to avoid this error.
Can you please try with that version and let me know if it fixes it for you?

1 Like

Problem solved with version 0.6.3b2.
Thanks Steven for your help and this great card.

Just installed this card and are tweaking around with it. Is it possible to only show events happening between a specific timeframe during the last day? In my case, I want to see the events (with timestamp) from motion sensors happening between 11am-6am, and only the last day. The sensors have a device_class of timestamp.

Hello! A really use your card a lot, the only thing that now does not work for me is the fact that the card updates some entitie’s state at 00:00:

image

Is it possible to avoid this?

Here is my code:

type: custom:home-feed-card
title: Eventos da Casa
card_id: main_feed
show_empty: false
calendars: []
more_info_on_tap: true
state_color: true
compact_mode: false
exact_durations: false
entities:
  - entity: binary_sensor.porta_principal_contact
    format: datetime
    include_history: true
    max_history: 4
    remove_repeats: true
    history_days_back: 2
    exclude_states:
      - unavailable
  - entity: binary_sensor.porta_cave_contact
    format: datetime
    remove_repeats: true
    include_history: true
    max_history: 4
    history_days_back: 2
    exclude_states:
      - unavailable
  - entity: counter.contador_correio
    format: datetime
    include_history: true
    max_history: 2
    history_days_back: 2
    remove_repeats: true
    state_map:
      '0': Sem correio
  - entity: automation.rotina_matinal
    format: datetime
    content_template: Rotina Matinal @ Activada
  - entity: input_select.maquina_loica
    format: datetime
    include_history: true
    max_history: 4
    history_days_back: 2
    remove_repeats: true
  - entity: group.grupo_casa
    format: datetime
    state_map:
      not_home: Ausente
      home: Em casa
    include_history: true
    max_history: 2
    history_days_back: 2
  - entity: input_boolean.modo_refeicao
    format: datetime
    include_history: true
    max_history: 2
    history_days_back: 2
  - entity: input_boolean.modo_dormir
    format: datetime
    include_history: true
    max_history: 2
    history_days_back: 2
  - entity: alarm_control_panel.alarme_geral
    format: datetime
    include_history: true
    max_history: 4
    history_days_back: 2
    remove_repeats: true

Thanks again!

1 Like