I’m currently working on a custom card with editor but can’t find a easy solution to reuse hui-card-picker from home-assistant core. Apparently there is no schema I can use to feed ha-form with it (via selector). I used this solution to show the official ha-icon-picker from home-assistant. This is what I would like to reuse including multi card support:
(window as any).customCards = (window as any).customCards || [];
(window as any).customCards.push({
type: CARD_NAME,
name: CARD_NAME,
preview: false,
description: 'Present the data of Formula One in a pretty way',
});
Thanks for your reply. My question goes a little bit deeper than this. I am able to create the editor card and choose entities and I’ve added many other config options. What I am missing is the capability to add multiple cards like seen in the “Vertical Stack Card Configuration”. So that I can click on the “+” and add as many cards as I want.
My editor card so far is using the <ha-form> component and I’m just adding the schema to the .schema attribute like: