Card & Section Visibility (Conditions)
Home Assistant now lets you configure visibility per card, section, or view directly in the UI via the Visibility tab. This eliminates the need to wrap your cards inside separate conditional cards.
Where to Find Visibility Settings
- Edit your dashboard (⋮ → Edit Dashboard), then edit any top‑level card, section, or view.
- Switch to the Visibility tab in the editor dialog.
- Click Add condition and choose from the same condition types available in conditional cards:
- State: entity must be in a certain state
- Numeric state: numerical value thresholds
- User: show to specific users only
- … and more, including "screen" type for device-specific visibility
- If you define multiple conditions, all must be true (AND logic).
- Save the settings and exit edit mode to see results live .
Examples
# Show a card only when someone is home
condition:
- entity: person.jane
state: home
# Display section only after sunset
condition:
- entity: sun.sun
state: below_horizon
Why Use Visibility Instead of Conditional Cards?
- Simpler setup - no need to nest cards manually.
- Works on sections and entire views, not just individual cards .
- Consistent behavior - cards preview in edit mode but respect visibility once saved.
When to Still Use the Conditional Card
Conditional cards are still useful when:
- You want different card types or content *only* when conditions are true.
- You need use of complex logic (e.g., OR clauses) not directly supported in the Visibility UI.
Tips & Troubleshooting
- If you don't see the Visibility tab: make sure the card isn't inside a nested stack/grid (only top-level cards, sections, and views support it) .
- Test multiple conditions in edit mode, then exit to see the real behavior.
- You can still mix with conditional cards for advanced or nested logic (like using "or" constructs or templates).