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
You need to set max_history, this defaults to 3 and so only shows the last 3 events for that entity.
For example, if you want the last 10 it would be:
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
max_history: 10
I have the same issue. This is usually on my Android devices. If I move from one dashboard back to the other, the entity names then show up. When I turn on my desk tablet each morning, I just do this quick dashboard change. This started about 3 or 4 months ago.
It doesn’t seem to be an issue on my PC with Chrome or Firefox. Would love to have a solution for this as it is quite annoying to have to swap between dashboards each time I bring them up the first time.
My card for some reason shows an entry at 12am. It also is only showing that day even though I have the history turned on. I’ve confirmed my history/DB is setup correctly. When I view the entities history I can go 10 days back. Any idea’s what why I’m only seeing information from midnight on?
Card config:
type: custom:home-feed-card
compact_mode: true
entities:
- entity: sensor.bb_last_feeding_from
name: Last Fed
format: datetime
include_history: true
max_history: 30
remove_repeats: false
history_days_back: 5