initial commit
This commit is contained in:
10
ui_lovelace_minimalist/dashboard/ui-lovelace.yaml
Normal file
10
ui_lovelace_minimalist/dashboard/ui-lovelace.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
button_card_templates: !include_dir_merge_named "../../custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/"
|
||||
|
||||
title: "Minimalist"
|
||||
theme: "minimalist-desktop"
|
||||
background: "var(--background-image)"
|
||||
views:
|
||||
- !include views/home.yaml
|
||||
- !include views/livingroom.yaml
|
||||
- !include views/laundry.yaml
|
||||
- !include views/kitchen.yaml
|
106
ui_lovelace_minimalist/dashboard/views/home.yaml
Normal file
106
ui_lovelace_minimalist/dashboard/views/home.yaml
Normal file
@@ -0,0 +1,106 @@
|
||||
title: "Home"
|
||||
path: "home"
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
template: "card_esh_welcome"
|
||||
triggers_update: "input_boolean.minimalist_dropdown"
|
||||
variables:
|
||||
ulm_card_esh_welcome_collapse: input_boolean.minimalist_dropdown
|
||||
ulm_weather: "weather.openweathermap"
|
||||
entity_1:
|
||||
nav: "house"
|
||||
icon: "mdi:home"
|
||||
name: "House"
|
||||
color: "blue"
|
||||
entity_2:
|
||||
nav: "lights"
|
||||
icon: "mdi:lightbulb"
|
||||
name: "Lights"
|
||||
color: "yellow"
|
||||
entity_3:
|
||||
nav: "security"
|
||||
icon: "mdi:shield"
|
||||
name: Secure
|
||||
color: "green"
|
||||
entity_4:
|
||||
nav: "network"
|
||||
icon: "mdi:nas"
|
||||
name: Lab
|
||||
color: "purple"
|
||||
entity_5:
|
||||
nav: "network"
|
||||
icon: "mdi:flask"
|
||||
name: Lab
|
||||
color: "red"
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: 'custom:button-card'
|
||||
template: card_person
|
||||
variables:
|
||||
ulm_card_person_entity: person.jonas
|
||||
ulm_card_person_use_entity_picture: true
|
||||
- type: 'custom:button-card'
|
||||
template: card_person
|
||||
variables:
|
||||
ulm_card_person_entity: person.sara
|
||||
ulm_card_person_use_entity_picture: true
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: 'custom:button-card'
|
||||
template: card_person
|
||||
variables:
|
||||
ulm_card_person_entity: person.tyra
|
||||
ulm_card_person_use_entity_picture: true
|
||||
- type: 'custom:button-card'
|
||||
template: card_person
|
||||
variables:
|
||||
ulm_card_person_entity: person.iris
|
||||
ulm_card_person_use_entity_picture: true
|
||||
- type: 'custom:button-card'
|
||||
template: card_title
|
||||
name: Rooms
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
template:
|
||||
- card_esh_room
|
||||
- green_on
|
||||
name: "Köket"
|
||||
icon: mdi:countertop-outline
|
||||
entity: switch.coffee_pot
|
||||
variables:
|
||||
ulm_custom_card_esh_room_light_entity:
|
||||
ulm_custom_card_esh_room_climate_entity:
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: "kitchen"
|
||||
label: '[[[ return states["sensor.kitchen_temp"].state + "°C" ]]]'
|
||||
- type: "custom:button-card"
|
||||
template:
|
||||
- card_esh_room
|
||||
- green_on
|
||||
name: Vardagsrum
|
||||
icon: mdi:television
|
||||
entity: media_player.vardagsrum
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: "livingroom"
|
||||
variables:
|
||||
ulm_custom_card_esh_room_light_entity: light.light_livinroom_1
|
||||
ulm_custom_card_esh_room_climate_entity:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
template:
|
||||
- card_esh_room
|
||||
- blue_on
|
||||
name: Tvättstuga
|
||||
entity: switch.dehumidifier
|
||||
icon: mdi:washing-machine
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: "laundry"
|
||||
variables:
|
||||
ulm_custom_card_esh_room_light_entity:
|
||||
ulm_custom_card_esh_room_climate_entity:
|
||||
label: '[[[ return states["sensor.laundry_temperature"].state + "°C" ]]]'
|
60
ui_lovelace_minimalist/dashboard/views/kitchen.yaml
Normal file
60
ui_lovelace_minimalist/dashboard/views/kitchen.yaml
Normal file
@@ -0,0 +1,60 @@
|
||||
title: "Köket"
|
||||
path: "kitchen"
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
template: chip_back
|
||||
variables:
|
||||
ulm_chip_back_path: home
|
||||
- type: "custom:button-card"
|
||||
template: card_title
|
||||
name: Köket
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: 'custom:button-card'
|
||||
template: card_power_outlet
|
||||
entity: switch.coffee_pot
|
||||
variables:
|
||||
ulm_card_power_outlet_icon: 'mdi:coffee-maker'
|
||||
ulm_card_power_outlet_consumption_sensor: sensor.coffee_pot_power
|
||||
ulm_card_power_outlet_name: Kaffekanna
|
||||
- type: 'custom:button-card'
|
||||
template: card_generic
|
||||
entity: sensor.coffee_pot_timer
|
||||
variables:
|
||||
ulm_card_generic_name: "Timer kaffepanna"
|
||||
ulm_card_generic_icon: "mdi:av-timer"
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: 'custom:button-card'
|
||||
template: card_graph
|
||||
entity: sensor.kitchen_temp
|
||||
variables:
|
||||
ulm_card_graph_color: "var(--google-green)"
|
||||
ulm_card_graph_name: Temperatur
|
||||
ulm_card_graph_entity: sensor.kitchen_temp
|
||||
ulm_card_graph_type: fill
|
||||
ulm_card_graph_hours: 24
|
||||
- type: 'custom:button-card'
|
||||
template: card_graph
|
||||
entity: sensor.coffee_pot_power
|
||||
variables:
|
||||
ulm_card_graph_color: "var(--google-red)"
|
||||
ulm_card_graph_name: Kaffepanna - Watt
|
||||
ulm_card_graph_entity: sensor.coffee_pot_power
|
||||
ulm_card_graph_type: fill
|
||||
ulm_card_graph_hours: 24
|
||||
|
||||
- type: "custom:button-card"
|
||||
template: card_media_player
|
||||
entity: media_player.kok
|
||||
name: Sonos
|
||||
variables:
|
||||
ulm_card_media_player_icon: "mdi:speaker"
|
||||
ulm_card_media_player_name: Sonos
|
||||
ulm_card_media_player_enable_art: true
|
||||
ulm_card_media_player_enable_controls: true
|
||||
ulm_card_media_player_enable_volume_slider: true
|
||||
|
84
ui_lovelace_minimalist/dashboard/views/laundry.yaml
Normal file
84
ui_lovelace_minimalist/dashboard/views/laundry.yaml
Normal file
@@ -0,0 +1,84 @@
|
||||
title: "Tvättstuga"
|
||||
path: "laundry"
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
template: chip_back
|
||||
variables:
|
||||
ulm_chip_back_path: home
|
||||
- type: "custom:button-card"
|
||||
template: card_title
|
||||
name: Tvättstuga
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: 'custom:button-card'
|
||||
template: card_power_outlet
|
||||
variables:
|
||||
ulm_card_power_outlet_icon: "mdi:air-humidifier"
|
||||
ulm_card_power_outlet_consumption_sensor: sensor.dehumidifier_power
|
||||
ulm_card_power_outlet_name: Luftavfuktare
|
||||
entity: switch.dehumidifier
|
||||
- type: 'custom:button-card'
|
||||
template: card_graph
|
||||
entity: sensor.dehumidifier_power
|
||||
variables:
|
||||
ulm_card_graph_color: "var(--google-red)"
|
||||
ulm_card_graph_name: Watt
|
||||
ulm_card_graph_entity: sensor.dehumidifier_power
|
||||
ulm_card_graph_type: fill
|
||||
ulm_card_graph_hours: 24
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: 'custom:button-card'
|
||||
template: card_graph
|
||||
entity: sensor.laundry_temperature
|
||||
variables:
|
||||
ulm_card_graph_color: "var(--google-green)"
|
||||
ulm_card_graph_name: Temperatur
|
||||
ulm_card_graph_entity: sensor.laundry_temperature
|
||||
ulm_card_graph_type: fill
|
||||
ulm_card_graph_hours: 24
|
||||
- type: 'custom:button-card'
|
||||
template: card_graph
|
||||
entity: sensor.laundry_humidity
|
||||
variables:
|
||||
ulm_card_graph_color: "var(--google-blue)"
|
||||
ulm_card_graph_name: Luftfuktighet
|
||||
ulm_card_graph_entity: sensor.laundry_humidity
|
||||
ulm_card_graph_type: fill
|
||||
ulm_card_graph_hours: 24
|
||||
- type: 'custom:button-card'
|
||||
template: card_title
|
||||
label: 'Sensors'
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: 'custom:button-card'
|
||||
template: card_binary_sensor_alert
|
||||
variables:
|
||||
ulm_card_binary_sensor_alert: true
|
||||
ulm_show_last_changed: true
|
||||
ulm_card_binary_sensor_alert_name: Läckage
|
||||
ulm_card_binary_sensor_alert_icon: mdi:water-outline
|
||||
entity: binary_sensor.inner_storage_water_leak
|
||||
- type: 'custom:button-card'
|
||||
template: card_battery
|
||||
entity: sensor.inner_storage_battery
|
||||
variables:
|
||||
ulm_card_battery_charger_type_entity_id: sensor.inner_storage_battery
|
||||
ulm_card_battery_battery_level_danger: 10
|
||||
ulm_card_battery_battery_level_warning: 50
|
||||
ulm_card_battery_name: Läcksensor
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: 'custom:button-card'
|
||||
template: card_battery
|
||||
entity: sensor.laundry_battery
|
||||
variables:
|
||||
ulm_card_battery_charger_type_entity_id: sensor.laundry_battery
|
||||
ulm_card_battery_battery_level_danger: 10
|
||||
ulm_card_battery_battery_level_warning: 50
|
||||
ulm_card_battery_name: Xiaomi
|
||||
|
42
ui_lovelace_minimalist/dashboard/views/livingroom.yaml
Normal file
42
ui_lovelace_minimalist/dashboard/views/livingroom.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
title: "Vardagsrum"
|
||||
path: "livingroom"
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
template: chip_back
|
||||
variables:
|
||||
ulm_chip_back_path: home
|
||||
- type: "custom:button-card"
|
||||
template: card_title
|
||||
name: Vardagsrum
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
template: card_light
|
||||
entity: light.light_livinroom_1
|
||||
variables:
|
||||
ulm_card_light_name: Lampa
|
||||
ulm_card_light_enable_collapse: true
|
||||
ulm_card_light_enable_slider: false
|
||||
ulm_card_light_enable_color: true
|
||||
ulm_card_light_force_background_color: true
|
||||
- type: "custom:button-card"
|
||||
template: card_media_player
|
||||
entity: media_player.vardagsrum
|
||||
name: Sonos
|
||||
variables:
|
||||
ulm_card_media_player_name: Sonos
|
||||
ulm_card_media_player_icon: "mdi:speaker"
|
||||
ulm_card_media_player_enable_art: true
|
||||
ulm_card_media_player_enable_controls: true
|
||||
ulm_card_media_player_enable_volume_slider: true
|
||||
- type: "custom:button-card"
|
||||
template: card_media_player
|
||||
entity: media_player.vardagsrum_2
|
||||
name: Chromecast
|
||||
variables:
|
||||
ulm_card_media_player_name: Chromecast
|
||||
ulm_card_media_player_enable_art: true
|
||||
ulm_card_media_player_enable_controls: true
|
||||
ulm_card_media_player_enable_volume_slider: false
|
Reference in New Issue
Block a user