How to show all sensors and notifications in a custom view?

I’ve created a custom view in groups.yaml and trying to add all sensors and notifications to it, like in default view, but can’t find how to do that. Can someone help?

You have to add entities to a group and add the groups to your view. There are some default groups that contain all devices that you can add

.

How do I add all notifications there if I don’t know in advance what notifications I can receive and I don’t want to miss anything. I don’t see a default group for those.

I don’t really understand your question.

Are you talking about persistent notifications?

These will be visible in all views.

Oh, ok, didn’t know that. And what about the sensors? For example I’ve noticed that main view has “home assistant update available” sensor in the main view that wasn’t there before. Is there a group that contains all sensors?

Unfortunately not. You will have to create one.

Go to the dev tools states menu (loos like a <> button lower left hand side of the HA side menu), Type ‘sensor’ into the "Filter entities’ field at the top of the left hand column and it will list all your sensors.

Copy them one by one into a group.

I’ve tried that and the “update” sensor didn’t show up in that list (it is called updater.updater). This might mean that I’m missing more of those.

If you run lovelace there is an option under three dots in top right corner to display all unused entities (being entities not on cards). If you’re NOT using lovelace, you should be! It will be the default in the next release 0.86 so embrace it now and be happy.