Allow dynamic visibility of items in UI

I had exactly the same thing in mind and now I’ve discovered this thread only to find out it’s not possible (yet). bummer

You can probably do his in custom ui by using templated hidden attribute.

Note that it will work for state cards only, not for full-size cards like media player.