Clean up advanced dashboard

This commit is contained in:
2021-06-12 16:06:52 +03:00
parent f2286051bf
commit 3093d02166
6 changed files with 4 additions and 219 deletions
-2
View File
@@ -7,10 +7,8 @@ views:
- !include lovelace/advanced_dashboard/01_new.yaml
- !include lovelace/advanced_dashboard/02_lights.yaml
- !include lovelace/advanced_dashboard/03_climate.yaml
- !include lovelace/advanced_dashboard/04_doors.yaml
- !include lovelace/advanced_dashboard/07_media.yaml
- !include lovelace/advanced_dashboard/08_automations.yaml
- !include lovelace/advanced_dashboard/09_network.yaml
- !include lovelace/advanced_dashboard/10_system.yaml
- !include lovelace/advanced_dashboard/12_test.yaml
- !include lovelace/advanced_dashboard/13_dev.yaml
@@ -19,56 +19,6 @@ cards:
layout: horzontal
max_columns: 2
cards:
- type: vertical-stack
title: Reload
cards:
- type: horizontal-stack
cards:
- type: custom:button-card
template: regular
name: Automations
icon: mdi:reload
tap_action:
action: call-service
service: automation.reload
- type: custom:button-card
template: regular
name: Scripts
icon: mdi:reload
tap_action:
action: call-service
service: script.reload
- type: custom:button-card
template: regular
name: Scenes
icon: mdi:reload
tap_action:
action: call-service
service: scene.reload
- type: horizontal-stack
cards:
- type: custom:button-card
template: regular
name: Groups
icon: mdi:reload
tap_action:
action: call-service
service: group.reload
- type: custom:button-card
template: regular
name: Theme
icon: mdi:reload
tap_action:
action: call-service
service: frontend.reload_themes
- type: custom:button-card
template: regular
name: Resources
icon: mdi:reload
tap_action:
action: call-service
service: lovelace.reload_resources
- type: vertical-stack
title: Github
cards:
@@ -97,10 +47,9 @@ cards:
forecast: true
- type: vertical-stack
title: Quarantine
cards:
- type: entities
title: Quarantine
icon: mdi:biohazard
entities:
- type: custom:decluttering-card
template: percentage_card
@@ -1,54 +0,0 @@
title: Doors
path: doors
icon: mdi:window-closed-variant
panel: true
cards:
- type: custom:mod-card
style:
layout-card:
$:
.: |
#columns {
padding: 0 10px;
}
#columns .column {
padding: 20px 10px;
}
card:
type: custom:layout-card
layout: horizontal
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
title: Windows
cards:
- type: custom:button-card
template: default
entity: binary_sensor.living_room_right_window
name: Living room
- type: custom:button-card
template: default
entity: binary_sensor.bedroom_left_window
name: Bedroom left
- type: custom:button-card
template: default
entity: binary_sensor.bedroom_right_window
name: Bedroom right
- type: custom:button-card
template: default
entity: binary_sensor.kitchen_window
name: Kitchen
- type: horizontal-stack
title: Doors
cards:
- type: custom:button-card
template: default
entity: binary_sensor.front_door
- type: custom:button-card
template: default
entity: binary_sensor.bedroom_door
@@ -16,7 +16,9 @@ cards:
}
card:
type: custom:layout-card
layout: horizontal
layout_type: custom:horizontal-layout
layout:
max_cols: 3
cards:
- type: vertical-stack
cards:
@@ -1,102 +0,0 @@
title: dev
path: dev
cards:
- type: horizontal-stack
cards:
- type: custom:gui-sandbox
- type: custom:button-card
template: regular
icon: mdi:reload
name: Theme
tap_action:
action: call-service
service: frontend.reload_themes
- type: custom:button-card
template: regular
icon: mdi:reload
name: Resources
tap_action:
action: call-service
service: lovelace.reload_resources
- type: custom:button-card
template: regular
name: time picker
icon: mdi:clock
tap_action:
action: navigate
navigation_path: "#time_picker"
- type: custom:button-card
template: regular
icon: mdi:folder
name: folder
tap_action:
action: navigate
navigation_path: "#folder"
- type: custom:state-switch
entity: hash
default: time_picker
states:
time_picker:
type: vertical-stack
cards:
- type: markdown
content: "# 🕰 Time Picker Card dev"
- type: entities
entities:
- input_datetime.alarm_time
- type: horizontal-stack
cards:
- type: custom:time-picker-card
entity: input_datetime.alarm_time
name: Alarm time
hour_mode: 24
hour_step: 2
- type: custom:time-picker-card
entity: input_datetime.alarm_time
hour_mode: 12
layout:
hour_mode: single
hide:
name: true
- type: custom:time-picker-card
entity: input_datetime.alarm_time
- type: horizontal-stack
cards:
- type: custom:time-picker-card
entity: input_datetime.alarm_time
hour_mode: 12
hide:
name: true
- type: custom:time-picker-card
entity: input_datetime.alarm_time
hour_mode: 12
hour_step: 2
minute_step: 3
layout:
hour_mode: single
hide:
name: false
folder:
type: vertical-stack
cards:
- type: markdown
content: "# 📂 Folder Card dev"
- type: horizontal-stack
cards:
- type: custom:folder-card
entity: sensor.pds
max_count: 3
show_count: true
- type: custom:folder-card
entity: sensor.pds
max_count: 5
- type: custom:folder-card
entity: sensor.pds
max_count: 2
- type: custom:folder-card
entity: sensor.pds
@@ -1,8 +0,0 @@
title: Zigbee
path: zigbee
icon: "mdi:z-wave"
panel: true
cards:
- type: custom:zigbee2mqtt-networkmap
entity: sensor.zigbee2mqtt_networkmap
height: 800