Adaptive Dashboard
This commit is contained in:
parent
4fa92f9167
commit
f7ec8f6556
@ -1,11 +1,15 @@
|
|||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_title
|
template: card_title
|
||||||
name: Batteries
|
name: Batteries
|
||||||
|
|
||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
cards:
|
cards:
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_battery
|
template: card_battery
|
||||||
entity: sensor.iphone_battery_level
|
entity: sensor.iphone_battery_level
|
||||||
variables:
|
variables:
|
||||||
@ -14,7 +18,9 @@
|
|||||||
ulm_card_battery_battery_level_warning: 80
|
ulm_card_battery_battery_level_warning: 80
|
||||||
ulm_card_battery_name: iPhone
|
ulm_card_battery_name: iPhone
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_battery
|
template: card_battery
|
||||||
entity: sensor.ipad_battery_level
|
entity: sensor.ipad_battery_level
|
||||||
variables:
|
variables:
|
||||||
|
@ -1,13 +1,19 @@
|
|||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_title
|
template: card_title
|
||||||
name: Climate
|
name: Climate
|
||||||
|
|
||||||
|
|
||||||
- type: custom:button-card
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: custom:button-card
|
||||||
template: custom_card_httpedo13_sun
|
template: custom_card_httpedo13_sun
|
||||||
|
|
||||||
|
|
||||||
- type: "custom:button-card"
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: "custom:button-card"
|
||||||
template: card_weather
|
template: card_weather
|
||||||
entity: weather.dark_sky
|
entity: weather.dark_sky
|
||||||
variables:
|
variables:
|
||||||
@ -19,7 +25,9 @@
|
|||||||
fade: true
|
fade: true
|
||||||
|
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_graph
|
template: card_graph
|
||||||
entity: sensor.temperature_kai_temperature
|
entity: sensor.temperature_kai_temperature
|
||||||
variables:
|
variables:
|
||||||
@ -34,13 +42,17 @@
|
|||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
cards:
|
cards:
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_generic
|
template: card_generic
|
||||||
entity: sensor.temperature_kai_humidity
|
entity: sensor.temperature_kai_humidity
|
||||||
variables:
|
variables:
|
||||||
ulm_card_generic_name: Humidity
|
ulm_card_generic_name: Humidity
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_generic
|
template: card_generic
|
||||||
entity: sensor.temperature_kai_pressure
|
entity: sensor.temperature_kai_pressure
|
||||||
variables:
|
variables:
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_title
|
template: card_title
|
||||||
name: Energy
|
name: Energy
|
||||||
|
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_graph
|
template: card_graph
|
||||||
entity: sensor.schreibtisch_current_consumption
|
entity: sensor.schreibtisch_current_consumption
|
||||||
variables:
|
variables:
|
||||||
@ -16,14 +20,18 @@
|
|||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
cards:
|
cards:
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_generic
|
template: card_generic
|
||||||
entity: sensor.schreibtisch_today_s_consumption
|
entity: sensor.schreibtisch_today_s_consumption
|
||||||
variables:
|
variables:
|
||||||
ulm_card_generic_name: Today
|
ulm_card_generic_name: Today
|
||||||
ulm_card_generic_icon: "mdi:home-lightning-bolt"
|
ulm_card_generic_icon: "mdi:home-lightning-bolt"
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_generic
|
template: card_generic
|
||||||
entity: sensor.schreibtisch_total_consumption
|
entity: sensor.schreibtisch_total_consumption
|
||||||
variables:
|
variables:
|
||||||
|
@ -1,19 +1,27 @@
|
|||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_title
|
template: card_title
|
||||||
name: Lights
|
name: Lights
|
||||||
|
|
||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
cards:
|
cards:
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_light_slider_collapse
|
template: card_light_slider_collapse
|
||||||
variables:
|
variables:
|
||||||
ulm_card_light_slider_collapse_name: Indirect
|
ulm_card_light_slider_collapse_name: Indirect
|
||||||
ulm_card_light_enable_collapse: false
|
ulm_card_light_enable_collapse: false
|
||||||
ulm_card_light_name: Indirect
|
ulm_card_light_name: Indirect
|
||||||
|
ulm_input_select_option: light indirect
|
||||||
|
ulm_input_select: input_select.minimalist_ui_switch
|
||||||
entity: light.all_indirect
|
entity: light.all_indirect
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_light_slider_collapse
|
template: card_light_slider_collapse
|
||||||
variables:
|
variables:
|
||||||
ulm_card_light_slider_collapse_name: Direct
|
ulm_card_light_slider_collapse_name: Direct
|
||||||
@ -22,7 +30,9 @@
|
|||||||
entity: light.all_direct
|
entity: light.all_direct
|
||||||
|
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_input_boolean
|
template: card_input_boolean
|
||||||
entity: switch.circadian_lighting_circadian_lighting
|
entity: switch.circadian_lighting_circadian_lighting
|
||||||
variables:
|
variables:
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_title
|
template: card_title
|
||||||
name: NAS
|
name: NAS
|
||||||
|
|
||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
cards:
|
cards:
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_script
|
template: card_script
|
||||||
variables:
|
variables:
|
||||||
ulm_card_script_title: WOL
|
ulm_card_script_title: WOL
|
||||||
@ -16,7 +20,9 @@
|
|||||||
service_data:
|
service_data:
|
||||||
entity_id: switch.server
|
entity_id: switch.server
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_binary_sensor
|
template: card_binary_sensor
|
||||||
variables:
|
variables:
|
||||||
ulm_card_binary_sensor_alert: true
|
ulm_card_binary_sensor_alert: true
|
||||||
|
16
lovelace/popup.yaml
Normal file
16
lovelace/popup.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
- type: custom:state-switch
|
||||||
|
view_layout:
|
||||||
|
grid-area: popup
|
||||||
|
show:
|
||||||
|
mediaquery: "(min-width: 1100px)"
|
||||||
|
entity: input_select.minimalist_ui
|
||||||
|
default: default
|
||||||
|
transition: slide-down
|
||||||
|
transition_time: 500
|
||||||
|
states:
|
||||||
|
## Lights
|
||||||
|
light indirect:
|
||||||
|
type: "custom:button-card"
|
||||||
|
template: "popup_light_brightness"
|
||||||
|
variables:
|
||||||
|
ulm_popup_light_entity: lights.all_indirect
|
@ -1,7 +1,11 @@
|
|||||||
- type: 'custom:button-card'
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: 'custom:button-card'
|
||||||
template: card_title
|
template: card_title
|
||||||
name: Home Assistant
|
name: Home Assistant
|
||||||
- type: "custom:button-card"
|
- view_layout:
|
||||||
|
grid-area: "card1"
|
||||||
|
type: "custom:button-card"
|
||||||
template: "card_welcome_scenes"
|
template: "card_welcome_scenes"
|
||||||
triggers_update: input_boolean.welcome_collapse
|
triggers_update: input_boolean.welcome_collapse
|
||||||
entity: input_boolean.welcome_collapse
|
entity: input_boolean.welcome_collapse
|
||||||
|
@ -20,3 +20,8 @@ lovelace:
|
|||||||
type: module
|
type: module
|
||||||
- url: /hacsfiles/home-assistant-sun-card/home-assistant-sun-card.js
|
- url: /hacsfiles/home-assistant-sun-card/home-assistant-sun-card.js
|
||||||
type: module
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-layout-card/layout-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-state-switch/state-switch.js
|
||||||
|
type: module
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
input_boolean:
|
input_boolean:
|
||||||
welcome_collapse:
|
welcome_collapse:
|
||||||
name: welcome_collapse
|
name: welcome_collapse
|
||||||
|
|
||||||
|
|
||||||
|
input_select:
|
||||||
|
minimalist_ui_switch:
|
||||||
|
name: Select popup/view
|
||||||
|
options:
|
||||||
|
- light.all_indirect
|
||||||
|
- light.all_direct
|
@ -35,3 +35,7 @@ views:
|
|||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/nas.yaml
|
!include lovelace/nas.yaml
|
||||||
|
|
||||||
|
- type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/popup.yaml
|
Reference in New Issue
Block a user