This started happening recently: some history graph started showing (seemingly) random other entities, even though not selected in the card. Also, when selecting certain entities to view status and history, others will show up as well. Here is an example of the history graph – only the temperature entities should be displayed and a zoneminder camera mode is being added (among other things not shown).
Note: I did not change anything in this card – it was working, and in the process of other configuration changes I have broken it.
I have stopped homeassistant, deleted the database and restarted and this is still happening. Any ideas how these extra entities can be creeping into cards without being explicitly referenced?
Ok, in my case everything was good until I made an apt-get update and apt-get upgrade.
I have been checked log in /var/log/apt/history.log and this what I have got:
The only 2 updates I had in common were libopenjp2-7 and raspi-copies-and-fills. I see there’s an issue on github regarding this issue, and someone else only had the copies and fills package in common, so I removed that (no cache package so I can’t revert). The issue is now gone.
I’m guessing a lot of raspbian users are going to run into this over time as they upgrade.
I always run apt update && apt upgrade if I haven’t logged into my Pi in a while. I can confirm that simply removing the raspi-copies-and-fills package fixes the issue for me. Good sleuthing!
Now, what does raspi-copies-and-fills do, exactly?
Did a sudo apt-get --purge remove raspi-copies-and-fills, rebooted and it’s fixed. So I’m reiterating the question of am I losing any functionalities by removing the copies-and-fills package.
It’s a package to increase performance by replacing a few memory handling functions. There is some info on what happened at this link.
It looks like a rushed update broke a bunch of stuff, then moved to a version that reverted the worst of the breakage but still caused issues. Now another has been released (0.11). I have just updated to the latest (0.11) which is supposed to be equivalent to the original unbroken version and everything appears normal.
Now we just need to watch for that next update, the maintainer obviously wants to change something!