To me it looks like only top-level entities (those in model.entities) have their visibility stored per page. Entities inside a component definition can be hidden, but they are never contained in page.hidden_entities.
Is this correct? This means that components/groups always look similar in different pages, and they can only be switched on/off completely.
yes, only top level entities gets their visibility state stored to scenes. This is a limitation I just don’t get. I can’t see any reason for it and it makes the feature of saving visibility states to scenes rather useless.
You can still save the visibility state of the group/component as a whole, but not it’s contained entities and only if the group/container itself is a top level entity.