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

76 rindas
2.0 KiB
YAML

2019-01-16 12:47:15 +00:00
title: Übersicht
path: overview
icon: "mdi:tablet-dashboard"
2019-01-16 12:47:15 +00:00
cards:
2021-08-28 19:22:30 +00:00
- 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
2021-03-21 20:41:34 +00:00
- type: custom:battery-state-card
title: "Batterie Warnung"
sort_by_level: "asc"
filter:
include:
- name: entity_id
value: "*_battery_level"
- name: attributes.device_class
value: battery
- name: attributes.battery_level
operator: "exists"
exclude:
- name: state
operator: "matches"
value: "/charging|discharging/i"
- name: entity_id
operator: "matches"
value: "/samsung|pixel/i"
- name: state
operator: ">"
value: 5
- name: attributes.friendly_name # require a friendly_name
operator: "="
value:
2021-08-28 19:22:30 +00:00
- name: attributes.friendly_name
operator: "matches"
value: "/vibration/i" # is almost empty but unused, not important here in this view
2021-03-21 20:41:34 +00:00
bulk_rename:
- from: "Batterie"
- from: "Battery"
- from: "Power"
2019-03-18 19:07:08 +00:00
- type: vertical-stack
cards:
- type: glance
title: Anwesenheit
entities:
2019-10-18 20:25:58 +00:00
- person.florian
- person.jenny
2019-03-18 19:07:08 +00:00
- type: map
aspect_ratio: 60%
entities:
- device_tracker.sm_g985f
2021-03-21 20:41:34 +00:00
- device_tracker.pixely