question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make card appear in lovelace card picker?

See original GitHub issue

Is your feature request related to a problem? Please describe. I’d like to see the this added to the Lovelace card picker.

Describe the solution you’d like

// Configure the preview in the Lovelace card picker
window.customCards = window.customCards || [];
window.customCards.push({
  type: 'restriction-card',
  name: 'Restriction Card',
  preview: false,
  description: 'A card to provide restrictions on Lovelace cards defined within.'
});

Additional context I would add this myself but I’m not sure where you’d want it added since you don’t just have a single flat js file.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
firestrife23commented, Jul 6, 2021

I don’t see a problem with adding this feature because Card Picker UI does allow you to edit YAML directly.

0reactions
OmgImAlexiscommented, Aug 12, 2021

Yes. For new people adding this card there nothing to really show it’s added. This helps.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: How do I add custom cards for lovelace?
I've tried to add some custom cards to my Hass.io setup without success. Regardless of how I add them (both manually, and also...
Read more >
5 FRONTEND HACS (Cards and Elements) - YouTube
In todays video I will be showing you 5 Front End HACS that you can make use of in your Home Assistant Lovelace...
Read more >
lovelace-custom-card · GitHub Topics
Time Picker Card for Home Assistant's Lovelace UI ... The versatile custom Swiss Army Knife card for Home Assistant allows you to create...
Read more >
Custom cards not showing in UI to add cards? : r/homeassistant
You did not miss anything. Custom card developers have to make code to add their card to the card selection list. If they...
Read more >
Mushroom Cards Home Assistant: Build a Clean UI
You can set the layout, set icon, name, primary and secondary information shown, and choose color from a dropdown menu. Custom actions can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found