Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it work within a view #6

Open
Tom-ahawk opened this issue Oct 2, 2022 · 3 comments
Open

Make it work within a view #6

Tom-ahawk opened this issue Oct 2, 2022 · 3 comments

Comments

@Tom-ahawk
Copy link

Tom-ahawk commented Oct 2, 2022

Nice card.
Please consider making a version so the "lovelace-header-cards" can be used in a view itself (as the views header) where the standard badges is located. This way the its easy to group badges and other things per view, - so its possible to have more than one per view.

image

@Tom-ahawk Tom-ahawk changed the title Make it work wiyhin a view Make it work within a view Oct 2, 2022
@gadgetchnnel
Copy link
Owner

I have been considering per-view options for lovelace-header-cards so that the cards in the header can be different (or disabled) on a per view basis, but this is a bit different from what you are suggesting.

It is actually already possible to use cards as badges in a view, but this is undocumented and not supported in the UI so you need to use the raw editor to do it.

For example:

- title: Badge Test
   path: badgetest
   badges:
   - type: custom:mushroom-chips-card
      chips:
        - type: weather
           entity: weather.openweathermap
           show_conditions: true
           show_temperature: true

Will give you a view with a Mushroom Chips Card with a weather forecase chip as one of the badges for that view.

@Tom-ahawk
Copy link
Author

Lovelace-header-cards so that the cards in the header can be different (or disabled) on a per view basis is also a welcomed functionality. Thanks for the mushroom-chips-car tip.

@modo1302
Copy link

modo1302 commented Jul 21, 2023

hey!
is this 'per-view' feature coming? :) would be awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants