Source: Conditional Card - Home Assistant
It does not seems to work for me following the instructions:
error appear on dashboard saying: conditions are invalid
- type: vertical-stack
view_layout:
grid-area: sidebar
cards:
- type: conditional
conditions:
- condition: screen
media_query: "(min-width: 1280px)"
card:
type: vertical-stack
cards:
- type: weather-forecast
entity: weather.home
tap_action:
action: more-info
forecast_type: legacy
show_current: false
show_forecast: true
theme: minimalist-mobile-tapbar
template: sidebar
- type: custom:button-card
entity: sensor.template_sidebar
template: sidebar
- type: glance
show_name: false
show_icon: true
show_state: true
entities:
- entity: sensor.audi_a3_fuellevel
- entity: binary_sensor.audi_a3_health
- entity: sensor.audi_a3_odometer
- entity: device_tracker.audi_a3_geolocation
theme: minimalist-mobil
what am i doing wrong?