I am trying to make things easier for myself and I am decent at yaml (but not desiring to go full yaml/raw config editor yet.)
What are my options for doing this then mainly by reusing code using anchors and aliases?
For instance, I have a generic “room card” I want to use that is based off BubbleCard popups. It would be a vertical stack with a bubblecard popup, then other cards (right now a banner card with door/window entities, then some other bubblecards.)
The issue I am facing is that obviously the card itself is not identical between all rooms (ie. some rooms have 2-3 windows, 1 door, others have 1 window, no tracked door, etc. etc.) So I could use an anchor to define a simple template then merge additional info in. Or I can set up a bubblecard anchor for my lights (so it is same same across many rooms) but those each would need separate sub-buttons (since the number of lights varies across the rooms, etc.)
Is there any real way to use this without going full raw config mode?
-
Declutter card- seems very nice but (and this is not a slight) basic. It can define cards that can work across your instance but they must basically be the same. There is no pick and choose config and merging of different info if I am looking at it right.
-
lovelace-gen - Seems pretty in depth and could maybe work but requires yaml mode and at that point I think I could define the anchors and such myself anyhow.
-
Raw config- basically a step I just don’t want to take at the moment. I do edit in yaml a bit but it’s nice to have the visual editor there at times.
My main goal restated is to make things the same across many cards without having to change it in a million places when I decide to update something. I think we all like DRY here but I’m just not entirely sure if what I’m asking is doable with the current tools without going full yaml mode.