Lovelace Updates

This commit is contained in:
darthsandmann 2022-07-30 15:15:27 +02:00
parent bdcbc7dd8d
commit 23766d963e
13 changed files with 180 additions and 92 deletions

View File

@ -0,0 +1,39 @@
- type: 'custom:button-card'
template: card_title
name: Light Bulbs
- type: custom:button-card
template: card_light_colorpick
entity: light.ceiling1
variables:
ulm_card_light_slider_horizontal_colors_name: Ceiling 1
ulm_card_light_slider_horizontal_colors_transition: 1
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 1
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 1
entity: light.ceiling1
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 2
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 2
entity: light.ceiling2
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Ceiling 3
ulm_card_light_enable_collapse: false
ulm_card_light_name: Ceiling 3
entity: light.ceiling3
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: false
ulm_card_light_name: Bed
entity: light.bed_ceiling

View File

@ -0,0 +1,22 @@
- type: 'custom:button-card'
template: card_title
name: Light Groups
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Indirect
ulm_card_light_enable_collapse: false
ulm_card_light_name: Indirect
ulm_input_select_option: light indirect
ulm_input_select: input_select.minimalist_ui_switch
entity: light.all_indirect
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Direct
ulm_card_light_enable_collapse: false
ulm_card_light_name: Direct
entity: light.all_direct

View File

@ -0,0 +1,19 @@
- type: 'custom:button-card'
template: card_title
name: Light Stripes
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Bed
ulm_card_light_enable_collapse: false
ulm_card_light_name: Bed
entity: light.bed
- type: 'custom:button-card'
template: card_light_slider_collapse
variables:
ulm_card_light_slider_collapse_name: Desk
ulm_card_light_enable_collapse: false
ulm_card_light_name: Desk
entity: light.desk

View File

@ -0,0 +1,49 @@
- type: 'custom:button-card'
template: card_title
name: Scenes
- type: "custom:button-card"
template:
- card_scenes
variables:
entity_1:
entity_id: scene.light_flux
icon: "mdi:YOUR_ICON"
icon_color: "yellow"
name: Flux
bg_color: "yellow"
entity_2:
entity_id: scene.light_blue
icon: "mdi:YOUR_ICON"
icon_color: "blue"
name: Blue
bg_color: "blue"
entity_3:
entity_id: scene.light_night
icon: "mdi:YOUR_ICON"
icon_color: "purple"
name: Night
bg_color: "purple"
entity_4:
entity_id: scene.light_alloff
icon: "mdi:YOUR_ICON"
icon_color: "green"
name: All Off
bg_color: "green"
entity_5:
entity_id: scene.light_alloff
icon: "mdi:YOUR_ICON"
icon_color: "red"
name: All Off
bg_color: "red"
- type: 'custom:button-card'
template: card_title
name: Switches
- type: 'custom:button-card'
template: card_input_boolean
entity: switch.circadian_lighting_circadian_lighting
variables:
ulm_card_input_boolean_name: Circadian Lighting

View File

@ -1,15 +1,11 @@
- view_layout: - type: 'custom:button-card'
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:
- view_layout: - type: 'custom:button-card'
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:
@ -18,9 +14,7 @@
ulm_card_battery_battery_level_warning: 80 ulm_card_battery_battery_level_warning: 80
ulm_card_battery_name: iPhone ulm_card_battery_name: iPhone
- view_layout: - type: 'custom:button-card'
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:

View File

@ -1,19 +1,13 @@
- view_layout: - type: 'custom:button-card'
grid-area: "card1"
type: 'custom:button-card'
template: card_title template: card_title
name: Climate name: Climate
- view_layout: - type: custom:button-card
grid-area: "card1"
type: custom:button-card
template: custom_card_httpedo13_sun template: custom_card_httpedo13_sun
- view_layout: - type: "custom:button-card"
grid-area: "card1"
type: "custom:button-card"
template: card_weather template: card_weather
entity: weather.dark_sky entity: weather.dark_sky
variables: variables:
@ -25,9 +19,7 @@
fade: true fade: true
- view_layout: - type: 'custom:button-card'
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:
@ -42,17 +34,13 @@
- type: "horizontal-stack" - type: "horizontal-stack"
cards: cards:
- view_layout: - type: 'custom:button-card'
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
- view_layout: - type: 'custom:button-card'
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:

View File

@ -1,13 +1,9 @@
- view_layout: - type: 'custom:button-card'
grid-area: "card1"
type: 'custom:button-card'
template: card_title template: card_title
name: Energy name: Energy
- view_layout: - type: 'custom:button-card'
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:
@ -20,18 +16,14 @@
- type: "horizontal-stack" - type: "horizontal-stack"
cards: cards:
- view_layout: - type: 'custom:button-card'
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"
- view_layout: - type: 'custom:button-card'
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:

View File

@ -1,15 +1,11 @@
- view_layout: - type: 'custom:button-card'
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:
- view_layout: - type: 'custom:button-card'
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
@ -19,9 +15,7 @@
ulm_input_select: input_select.minimalist_ui_switch ulm_input_select: input_select.minimalist_ui_switch
entity: light.all_indirect entity: light.all_indirect
- view_layout: - type: 'custom:button-card'
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
@ -30,9 +24,7 @@
entity: light.all_direct entity: light.all_direct
- view_layout: - type: 'custom:button-card'
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:

View File

@ -1,15 +1,11 @@
- view_layout: - type: 'custom:button-card'
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:
- view_layout: - type: 'custom:button-card'
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
@ -20,9 +16,7 @@
service_data: service_data:
entity_id: switch.server entity_id: switch.server
- view_layout: - type: 'custom:button-card'
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

View File

@ -1,11 +1,7 @@
- view_layout: - type: 'custom:button-card'
grid-area: "card1"
type: 'custom:button-card'
template: card_title template: card_title
name: Home Assistant name: Home Assistant
- view_layout: - type: "custom:button-card"
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

View File

@ -1,16 +0,0 @@
- 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

View File

@ -20,8 +20,10 @@ 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 #- url: /hacsfiles/lovelace-layout-card/layout-card.js
type: module # type: module
- url: /hacsfiles/lovelace-state-switch/state-switch.js #- url: /hacsfiles/lovelace-state-switch/state-switch.js
# type: module
- url: /hacsfiles/rgb-light-card/card.js
type: module type: module

View File

@ -14,28 +14,45 @@ views:
- type: "vertical-stack" - type: "vertical-stack"
cards: cards:
!include lovelace/welcome.yaml !include lovelace/overview/welcome.yaml
- type: "vertical-stack" - type: "vertical-stack"
cards: cards:
!include lovelace/lights.yaml !include lovelace/overview/lights.yaml
- type: "vertical-stack" - type: "vertical-stack"
cards: cards:
!include lovelace/climate.yaml !include lovelace/overview/climate.yaml
- type: "vertical-stack" - type: "vertical-stack"
cards: cards:
!include lovelace/batteries.yaml !include lovelace/overview/batteries.yaml
- type: "vertical-stack" - type: "vertical-stack"
cards: cards:
!include lovelace/energy.yaml !include lovelace/overview/energy.yaml
- type: "vertical-stack" - type: "vertical-stack"
cards: cards:
!include lovelace/nas.yaml !include lovelace/overview/nas.yaml
- title: "Lights"
path: 1
cards:
- type: "vertical-stack" - type: "vertical-stack"
cards: cards:
!include lovelace/popup.yaml !include lovelace/lights/scenes.yaml
- type: "vertical-stack"
cards:
!include lovelace/lights//lightgroups.yaml
- type: "vertical-stack"
cards:
!include lovelace/lights/lightbulbs.yaml
- type: "vertical-stack"
cards:
!include lovelace/lights/lightstripes.yaml