home-automation-home-assistant/config/views/overview.yaml

53 lines
1.3 KiB
YAML

title: Übersicht
path: overview
icon: "mdi:tablet-dashboard"
cards:
- type: conditional
conditions:
- entity: binary_sensor.openclose_10
state: "on"
card:
type: entities
title: Offene Fenster
show_header_toggle: false
entities:
- entity: binary_sensor.openclose_10
name: Elternbad
icon: mdi:window-open
- type: vertical-stack
cards:
- type: custom:weather-card
name: Wetter
entity: weather.openweathermap
icons: "/local/lovelace/custom/weather-card/icons/"
# - type: iframe
# url: !secret iframe_windy
# aspect_ratio: 75%
# - type: iframe
# url: !secret iframe_earth
# aspect_ratio: 75%
- type: conditional
conditions:
- entity: binary_sensor.workday_sensor
state: "on"
- entity: binary_sensor.morning
state: "on"
card:
type: entities
title: Nächste Bahn nach Münster
show_header_toggle: false
entities:
- entity: sensor.salzbergen_to_munster_hbf
name: Abfahrt
- type: vertical-stack
cards:
- type: glance
title: Anwesenheit
entities:
- person.florian
- person.jenny
- type: map
aspect_ratio: 60%
entities:
- device_tracker.sm_g985f
- device_tracker.pixel_4