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:
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!
Sorry if I’m being dense, I’ve read the readme and searched this whole topic but I still don’t understand what id_filter does. What is it filtering? Is there a log file somewhere that has lines beginning with ‘home_feed’?
That is for filtering which persistent notifications show in the feed, based on the notification_id property. It is a regular expression, so if you want all notifications to appear you can use something like “.*”.
Hello, and firstly sorry for my hesitant english, and many thanks for your work !
Since I activate Home Feed Card on my Home Assistant, I have no entity status in my feed, just update time. Entities status appears sometimes after 2-3 minutes… I tried in Chrome or Firefox, same result… Somebody had an idea ?
Simple code :
type: custom:home-feed-card
title: Etat des capteurs
card_id: main_feed2
scrollbars_enabled: false
state_color: true
max_item_count: 10
entities:
- binary_sensor.motion_sensor_158d0003cea15e
- binary_sensor.motion_sensor_158d0003cea211
- person.florg
- switch.lampe_chambre
- switch.lampe_ophtalmo
- switch.lampe_porte_bouteille
- switch.led_etagere
- weather.nantes
- sensor.speedtest_download
- sensor.speedtest_upload
- sensor.speedtest_ping
- sensor.waze_travel_time
Try refreshiing the page in the web browser. I have occasionally seen this happen, usually after my Home Assistant server has restarted, and refreshing the page in the browser has fixed it.
If that doesn’t help, do you see any errors in the console in the browser or in the Home Assistant logs?
Thanks for your answer Steven ! I tried to refresh browser and clear cache but same result…
And by the way I have the same problem on Home Assistant mobile app, so it’s probably a problem I created myself
I just have this error but no many infos on it on Google…
And every times I click on “modify” in the dashboard card, infos are immediately displaying
That looks like it is logging a JavaScript error. Do you see any errors if you open the Developer Tools in Chrome and load the page?
That would likely be a more detailed error, which would help identify the cause.
I’ve published an update to the card (v0.6.3) which preloads more elements, which may help with this. Can you please try updating to that and see if it helps?
Hello Steven, I’ve updated and no effect on displaying
Thanks for your help and efforts, I will try to reinstall Home Assistant from zero
is there anyway of formatting this so it goes across the screen horizontally.
Hey @Steven_Rollason
i was wondering how could i change the colors of the icons for individual items
also having this issue in the console
DevTools failed to load source map: Could not load content for http://homeassistant.local:8123/hacsfiles/lovelace-home-feed-card/lovelace-home-feed-card.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
i checked the folder and i do not see js.map file.
You can’t customise this (I’ll consider adding this as an option), but you can use the state_color: true
option to change it based on state, like in the standard entities card (this used the standard functionality).
That error can be ignored, the map file is for when I debug locally, so it isn’t included in the published version but the Chrome developer tools try to load the map file when the console is open.
You can prevent Chrome from trying to load .map files by
- Opening the Sources tap in the developer tools
- Clicking the settings (cog) button in the top right corner
- Clearing the checkbox next to “Enable Jabascript source maps”
But again, that error wwill only actually occur when the Developer Tools are open.
Is there a way to use the state_map for attributes of an entity, too? I tried, but it seems it doesn’t work
Is it possible to have item info persist across restarts?
for example, if my garage was opened 4 hours ago and I restart HASS now, it shows the garage door was opened < 1 minute ago
I tried the following but I’m not clear on what they do
- entity: cover.garage
include_history: true
remove_repeats: true
You could try
- entity: cover.garage
include_history: true
remove_repeats: true
exclude_states:
- "unknown"
- "unavailable"
Since filtering of excluded states is done before the removing of repeats, this should ignore it if it goes from from “on” to “unknown”/“unavailable” and back to “on” following a reboot.
If you only want the latest state to be shown (e.g. if it is opened and closed several times in the day) you can us the max_histroy option as well, like this:
- entity: cover.garage
include_history: true
remove_repeats: true
max_history: 1
exclude_states:
- "unknown"
- "unavailable"
thanks… this works.
I tried adding it to the top for the entire card but it only seems to only work if I apply those lines to each entity.
I was only see 3 events for one entity for the following setup. Is this normal, I was hoping to show up to 10 events.
type: custom:home-feed-card
title: Motion Events
max_item_count: 10
scrollbars_enabled: true
show_empty: false
more_info_on_tap: true
state_color: true
entities:
- entity: binary_sensor.outdoor_motion_motion
format: datetime
name: Outdoor Motion
include_history: true