mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
adding card conditionally: also applies to badge (#34173)
This commit is contained in:
parent
782d5a0836
commit
c9268b3f23
@ -84,9 +84,9 @@ This method is useful if you are on the **Device** page and want to create a car
|
|||||||
8. If you like, define [card actions, features, header and footer widgets](#card-actions-features-header-and-footer-widgets).
|
8. If you like, define [card actions, features, header and footer widgets](#card-actions-features-header-and-footer-widgets).
|
||||||
- Not all cards support these elements. Refer to the documentation of the specific card type.
|
- Not all cards support these elements. Refer to the documentation of the specific card type.
|
||||||
|
|
||||||
## Showing or hiding a card conditionally
|
## Showing or hiding a card or badge conditionally
|
||||||
|
|
||||||
You can choose to show or hide certain cards based on different conditions. The [available conditions](/dashboards/conditional/#card-conditions) are the same as the ones for the conditional card.
|
You can choose to show or hide certain cards or [badges](/dashboards/badges/) based on different conditions. The [available conditions](/dashboards/conditional/#card-conditions) are the same as the ones for the conditional card.
|
||||||
|
|
||||||
1. On the **Visibility** tab, select **Add condition**.
|
1. On the **Visibility** tab, select **Add condition**.
|
||||||
- Don't see a **Visibility** tab?
|
- Don't see a **Visibility** tab?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user