Skip to content

Conditional cards and chips? #559

Answered by 13robin37
dbdmdbdmdbdm asked this question in Q&A
Discussion options

You must be logged in to vote

Sure, just did that. Just an example for a vacuum chip only showing when the vacuum is not docked:

              - type: "conditional"
                conditions:
                  - entity: "vacuum.vacuum"
                    state_not: "docked"
                card:
                  type: "custom:button-card"
                  template: "chip_navigate"
                  label: "Vacuum"
                  variables:
                    ulm_chip_navigate_path: "/ui-lovelace-minimalist/vacuum"
                    ulm_chip_navigate_icon: "mdi:robot-vacuum"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dbdmdbdmdbdm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants