homeassistant-config/config_creation/ui-lovelace.yaml

326 lines
11 KiB
YAML

resources:
- type: module
url: /local/custom_ui/compact-custom-header.js?v=0.0.1
- type: js
url: /local/custom_ui/state-card-custom-cover.js
- type: js
url: /local/custom_ui/lovelace-toggle-lock-entity-row/toggle-lock-entity-row.js
- type: module
url: /local/custom_ui/mini-graph-card-bundle.js?v=0.4.3
- type: module
url: /local/custom_ui/mini-media-player-bundle.js?v=1.2.0
- type: js
url: /local/custom_ui/room-glance-card.js
title: Home
views:
- cards:
- main_config: true
swipe: true
swipe_animate: flip
type: 'custom:compact-custom-header'
voice: hide
- aspect_ratio: 16x9
entities:
- group.living_area
image: /local/img/living_area_16_9.jpg
scenes:
- color: '#f07a1d'
name: Orange
scene: scene.wohnbereich_orange
- color: '#2eacd7'
name: Blau
scene: scene.wohnbereich_blau_grun
- color: green
name: Grün
scene: scene.wohnbereich_grun
- color: '#9f9cac'
icon: 'mdi:weather-night'
name: Kuscheln
scene: scene.wohnbereich_kuscheln
type: 'custom:room-glance-card'
- artwork: cover
entity: media_player.martins_ipad_2
hide:
power_state: false
source: true
volume: true
icon: 'mdi:spotify'
type: 'custom:mini-media-player'
- entities:
- entity: light.kuche_deckenlampe
name: Decke Küche
- entity: light.esszimmer_deckenlampe_mitte
name: Decke Esszimmer Mitte
- entity: light.esszimmer_deckenlampe_west
name: Decke Esszimmer
- type: divider
- entity: light.kuche_links
name: Küche LED links
- entity: light.kuche_rechts
name: Küche LED rechts
- entity: light.kuche_vorne
name: Küche LED vorne
- type: divider
- entity: cover.kuche_fenster_rollo
name: Küche
type: 'custom:state-card-custom-cover'
- entity: cover.esszimmer_fenster_rollo
name: Esszimmer
type: 'custom:state-card-custom-cover'
show_header_toggle: true
title: Küche/Esszimmer
type: entities
- artwork: cover
entity: media_player.kitchenpi
hide:
power_state: false
source: true
volume: false
shuffle: false
icon: 'mdi:music'
type: 'custom:mini-media-player'
shortcuts:
columns: 4
list:
- name: B5
type: music
id: >-
http://dg-br-http-dus-dtag-cdn.cast.addradio.de/br/b5aktuell/live/mp3/128/stream.mp3?ar-distributor=f0a1
icon: 'mdi:alpha-r'
- name: BigBand
icon: 'mdi:alpha-b'
type: music
id: 'spotify:playlist:37i9dQZF1DX6G7arXBXa3A'
- name: LateNightJazz
icon: 'mdi:alpha-j'
type: music
id: 'spotify:playlist:37i9dQZF1DX4wta20PHgwo'
- entities:
- entity: light.wohnzimmer_deckenlampe
name: Decke
- type: divider
- entity: light.wohnzimmer_kugel
name: Kugel
- entity: light.wohnzimmer_regal_links
name: Regal links
- entity: light.wohnzimmer_regal_rechts
name: Regal rechts
- type: divider
- entity: light.wohnzimmer_stehlampe_oben
name: Stehlampe oben
- entity: light.wohnzimmer_stehlampe
name: Stehlampe unten
- type: divider
- entity: cover.wohnzimmer_fenster_rollo
name: Fenster
type: 'custom:state-card-custom-cover'
- entity: cover.wohnzimmer_terrassentur_rollo
name: Tür
type: 'custom:state-card-custom-cover'
show_header_toggle: true
title: Wohnzimmer
type: entities
- entities:
- entity: light.gang_licht
name: Licht
- entity: light.gang_bogen
name: Bogen
show_header_toggle: true
title: Gang
type: entities
icon: 'mdi:sofa'
title: Wohnbereich
- cards:
- type: 'custom:compact-custom-header'
- aspect_ratio: 16x9
entities:
- group.bedroom
image: /local/img/bedroom_16_9.jpg
scenes:
- color: '#ccc'
icon: 'mdi:sleep'
name: Dunkel
scene: scene.schlafzimmer_ganz_dunkel
- color: '#f07a1d'
name: Orange
scene: scene.schlafzimmer_orange
- color: '#fdef56'
name: Hell
scene: scene.schlafzimmer_ganz_hell
- color: '#2eacd7'
name: Blau
scene: scene.schlafzimmer_blau
type: 'custom:room-glance-card'
- card:
title: Lichter die noch an sind
type: entities
entities:
- entity: group.light_hallway
icon: 'mdi:door-closed'
name: Gang
- entity: group.light_living_area
icon: 'mdi:sofa'
name: Wohnzimmer/Esszimmer
- entity: group.light_office_martin
icon: 'mdi:monitor-multiple'
name: Martins Büro
show_empty: false
state_filter:
- 'on'
type: entity-filter
- artwork: cover
entity: media_player.bedroompi
hide:
power_state: false
source: true
volume: false
shuffle: false
icon: 'mdi:music'
type: 'custom:mini-media-player'
shortcuts:
label: Playlists
list:
- name: Regen
type: music
id: 'spotify:playlist:37i9dQZF1DXbcPC6Vvqudd'
- name: Wellen
type: music
id: 'spotify:playlist:37i9dQZF1DX9if5QDLdzCa'
- name: Different Sleeping List
type: music
id: 'spotify:playlist:37i9dQZF1DX7heGeZ10YDi'
- name: LateNightJazz
type: music
id: 'spotify:playlist:37i9dQZF1DX4wta20PHgwo'
- name: Romantic Jazz
type: music
id: 'spotify:playlist:2AmjhSAm6iI0qrXXhQyHgk'
- name: Klassik zum Entspannen
type: music
id: 'spotify:playlist:37i9dQZF1DX8Dd9bxD1WYH'
- entities:
- entity: light.schlafzimmer_deckenlampe
name: Deckenlampe
- entity: light.schlafzimmer
name: Fluter
- entity: cover.schlafzimmer_rollo_gross
name: Rollo Groß
type: 'custom:state-card-custom-cover'
- entity: cover.schlafzimmer_rollo_klein
name: Rollo Klein
type: 'custom:state-card-custom-cover'
show_header_toggle: false
type: entities
icon: 'mdi:bed-empty'
title: Schlafzimmer
- cards:
- type: 'custom:compact-custom-header'
- aspect_ratio: 16x9
entities:
- group.office_martin
image: /local/img/office_martin_16_9.jpg
name: Arbeitszimmer
scenes:
- color: '#f07a1d'
name: Orange
scene: scene.arbeitszimmer_martin_orange
- color: '#2eacd7'
name: Blau
scene: scene.arbeitszimmer_martin_blau_grun
- color: '#fff'
name: Hell
scene: scene.arbeitszimmer_martin_hell
type: 'custom:room-glance-card'
- entities:
- entity: light.arbeitszimmer_martin_deckenlampe
name: Deckenlampe
- entity: light.arbeitszimmer_martin
name: Fluter
- entity: light.arbeitszimmer_martin_oben
name: Stehlampe Oben
- entity: light.arbeitszimmer_martin_unten
name: Stehlampe Unten
- entity: cover.arbeitszimmer_martin_rollo
name: Rollo
type: 'custom:state-card-custom-cover'
- entity: binary_sensor.arbeitszimmer_martin_bewegungsmelder_bewegung
format: relative
name: Bewegung
secondary_info: last-changed
- entity: sensor.arbeitszimmer_martin_bewegungsmelder_helligkeit
name: Helligkeit
show_header_toggle: false
type: entities
icon: 'mdi:monitor-multiple'
title: Martins Büro
- cards:
- type: 'custom:compact-custom-header'
- entities:
- entity: sensor.trockner_verbrauch
name: Trockner aktuell
- entity: sensor.trockner_verbrauch_summe
name: Trockner insgesamt
- entity: sensor.trockner_betriebsstunden
name: Trockner Stunden
- type: divider
- entity: sensor.waschmaschine_verbrauch
name: Waschmaschine aktuell
- entity: sensor.waschmaschine_verbrauch_summe
name: Waschmaschine insgesamt
- entity: sensor.waschmaschine_betriebsstunden
name: Waschmaschine Stunden
show_header_toggle: false
title: Verbrauch
type: entities
- entities:
- entity: switch.trockner
type: 'custom:toggle-lock-entity-row'
- entity: switch.waschmaschine
type: 'custom:toggle-lock-entity-row'
- entity: switch.spulmaschine
type: 'custom:toggle-lock-entity-row'
- entity: switch.backofen
type: 'custom:toggle-lock-entity-row'
- entity: switch.herd_phase_1
type: 'custom:toggle-lock-entity-row'
- entity: switch.herd_phase_2
type: 'custom:toggle-lock-entity-row'
- entity: switch.herd_phase_3
type: 'custom:toggle-lock-entity-row'
show_header_toggle: false
title: Sicherheitsabschaltung
type: entities
- animate: true
entities:
- sensor.waschmaschine_verbrauch
- sensor.trockner_verbrauch
name: Waschen & Trocknen
type: 'custom:mini-graph-card'
- animate: true
entities:
- entity: sensor.spulmaschine_verbrauch
name: Spühlmaschine
- entity: sensor.backofen_verbrauch
name: Backofen
- entity: sensor.herd_phase_1_verbrauch
name: Herd P1
- entity: sensor.herd_phase_2_verbrauch
name: Herd P2
- entity: sensor.herd_phase_3_verbrauch
name: Herd P3
hours_to_show: 8
name: Küche
points_per_hour: 4
type: 'custom:mini-graph-card'
- animate: true
entities:
- entity: sensor.fritz_box_7490_kbyte_sec_received
name: Down
- entity: sensor.fritz_box_7490_kbyte_sec_sent
name: Up
hours_to_show: 2
name: Internet
points_per_hour: 30
type: 'custom:mini-graph-card'
title: Admin
icon: mdi:settings