Lovelace: custom badges and state-badge actions#10915
Merged
Merged
Conversation
Member
Author
|
So, I've added custom badges here and need them listed on the sidebar as cards are but I'm not sure how to accomplish this; will need some guidance |
This was referenced Oct 21, 2019
Member
Author
|
I need further help on this. I'm not sure how to structure the docs so that I can get the badges in the sidebar. |
Member
|
@iantrich The main problem with this is, that Jekyll does not support nested collections (which you are trying to do as it seems). I see 2 possible options:
I have to be honest here: Both aren't pretty IMHO. 😢 |
Member
Author
|
I might just throw this in the views markdown for now 🤷♂ |
Member
|
Well, that is a good start, right? :) |
Member
|
Working first, pretty later :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
home-assistant/frontend#3867
home-assistant/frontend#4028
Checklist:
nextis for changes and new documentation that will go public with the next Home Assistant release. Fixes, changes and adjustments for the current release should be created againstcurrent.