home-assistant/ui_lovelace_minimalist/dashboard/views/home.yaml

134 lines
4.3 KiB
YAML
Raw Permalink Normal View History

2022-07-23 09:14:56 +00:00
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:
2022-07-24 08:37:08 +00:00
nav: "shoppinglist"
icon: "mdi:cart-outline"
name: "Handla"
2022-07-24 12:19:43 +00:00
color: "green"
2022-07-23 09:14:56 +00:00
entity_2:
2022-07-24 12:19:43 +00:00
nav: "transport"
icon: "mdi:bus"
name: "Buss"
color: "blue"
2022-07-23 09:14:56 +00:00
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
2022-07-26 13:48:08 +00:00
- type: horizontal-stack
2022-07-26 13:20:56 +00:00
cards:
- type: 'custom:button-card'
template: chip_mdi_icon_only
variables:
ulm_chip_mdi_icon_state_entity: calendar.home_assistant_garbagebin
ulm_chip_mdi_icon_only_icon: mdi:trash-can
2022-07-26 13:48:08 +00:00
ulm_chip_mdi_icon_only_icon_color: "[[[ return states['calendar.home_assistant_garbagebin'].state == 'off' ? 'gray' : 'red' ]]]"
2022-07-26 13:20:56 +00:00
- type: 'custom:button-card'
template: chip_mdi_icon_only
variables:
ulm_chip_mdi_icon_state_entity: inner_storage_water_leak
2022-07-26 13:48:08 +00:00
ulm_chip_mdi_icon_only_icon: "[[[ return states['binary_sensor.inner_storage_water_leak'].state == 'off' ? 'mdi:water' : 'mdi:water-alert' ]]]"
ulm_chip_mdi_icon_only_icon_color: "[[[ return states['binary_sensor.inner_storage_water_leak'].state == 'off' ? 'gray' : 'red' ]]]"
2022-07-26 13:20:56 +00:00
2022-07-23 09:14:56 +00:00
- 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:
2022-07-27 18:21:09 +00:00
- type: horizontal-stack
2022-07-23 09:14:56 +00:00
cards:
2022-07-27 18:21:09 +00:00
- type: "custom:button-card"
template:
- card_esh_room
- yellow_on
name: Matsal
icon: mdi:pasta
tap_action:
action: navigate
navigation_path: "diningroom"
variables:
ulm_custom_card_esh_room_light_entity: light.matsal
ulm_custom_card_esh_room_climate_entity:
2022-07-23 09:14:56 +00:00
- 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" ]]]'