home-assistant/ui_lovelace_minimalist/dashboard/views/home.yaml
Jonas Forsberg ce60768220
alert-icons
2022-07-26 15:48:08 +02:00

123 lines
3.9 KiB
YAML

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: "shoppinglist"
icon: "mdi:cart-outline"
name: "Handla"
color: "green"
entity_2:
nav: "transport"
icon: "mdi:bus"
name: "Buss"
color: "blue"
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: horizontal-stack
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
ulm_chip_mdi_icon_only_icon_color: "[[[ return states['calendar.home_assistant_garbagebin'].state == 'off' ? 'gray' : 'red' ]]]"
- type: 'custom:button-card'
template: chip_mdi_icon_only
variables:
ulm_chip_mdi_icon_state_entity: inner_storage_water_leak
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' ]]]"
- 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: grid
columns: 2
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" ]]]'