lovelace: First version of a dashboard
This commit is contained in:
parent
2b28dd6344
commit
15c180b984
11
lovelace/cameras/hallen.yaml
Normal file
11
lovelace/cameras/hallen.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
type: picture-elements
|
||||||
|
title: Hallen
|
||||||
|
image: /local/images/placeholder-800x600.png
|
||||||
|
elements:
|
||||||
|
- type: image
|
||||||
|
camera_image: camera.hallen
|
||||||
|
style:
|
||||||
|
left: 50%
|
||||||
|
top: 50%
|
||||||
|
height: 100%
|
||||||
|
width: 100%
|
@ -36,6 +36,7 @@ popup_cards:
|
|||||||
entity: light.takflakt_4
|
entity: light.takflakt_4
|
||||||
name: 4
|
name: 4
|
||||||
views:
|
views:
|
||||||
|
- !include views/dashboard_view.yaml
|
||||||
- !include views/diverse_view.yaml
|
- !include views/diverse_view.yaml
|
||||||
- !include views/security_view.yaml
|
- !include views/security_view.yaml
|
||||||
- title: Floorplan
|
- title: Floorplan
|
||||||
|
@ -10,3 +10,10 @@
|
|||||||
type: js
|
type: js
|
||||||
- url: !file /local/lovelace-auto-entities/auto-entities.js
|
- url: !file /local/lovelace-auto-entities/auto-entities.js
|
||||||
type: js
|
type: js
|
||||||
|
- url: !file /local/lovelace-layout-card/layout-card.js
|
||||||
|
type: js
|
||||||
|
|
||||||
|
# Specially modified by helto
|
||||||
|
# https://github.com/helto4real/hassio/tree/master/www/custom_cards
|
||||||
|
- url: !file /local/weather-card.js
|
||||||
|
type: module
|
||||||
|
56
lovelace/views/dashboard_view.yaml
Normal file
56
lovelace/views/dashboard_view.yaml
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
title: Dashboard
|
||||||
|
path: dashboard
|
||||||
|
icon: mdi:home-assistant
|
||||||
|
panel: true
|
||||||
|
cards:
|
||||||
|
- type: custom:layout-card
|
||||||
|
layout: vertical
|
||||||
|
column_width: [-, 200px]
|
||||||
|
cards:
|
||||||
|
- type: custom:layout-card
|
||||||
|
column_width: 350
|
||||||
|
max_width: 960
|
||||||
|
layout: vertical
|
||||||
|
cards:
|
||||||
|
- type: custom:weather-card
|
||||||
|
entity: weather.smhi_home
|
||||||
|
icons: /local/weather_icons/
|
||||||
|
- break
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: picture
|
||||||
|
image: /local/images/thomas_clr.jpg
|
||||||
|
- type: picture
|
||||||
|
image: /local/images/anneli_clr.png
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: entity-button
|
||||||
|
entity: light.ytterbelysning
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
- type: entity-button
|
||||||
|
entity: light.fasadbelysning
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
- type: entity-button
|
||||||
|
entity: light.taklampor
|
||||||
|
name: Lampor inne
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: entity-button
|
||||||
|
entity: sun.sun
|
||||||
|
- type: entity-button
|
||||||
|
entity: binary_sensor.sopor
|
||||||
|
- break
|
||||||
|
- type: entity-button
|
||||||
|
entity: switch.varme_jst
|
||||||
|
name: JST
|
||||||
|
icon: mdi:fan
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
- type: entity-button
|
||||||
|
entity: switch.varme_mhr
|
||||||
|
name: MHR
|
||||||
|
icon: mdi:fan
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
Loading…
x
Reference in New Issue
Block a user