title: Hjem
cards:
- type: custom:stack-in-card
cards:
- type: custom:decluttering-card
template: title_template
variables:
- title: Velkommen, {{user}}
- font-size: "1.5rem"
- type: custom:mushroom-chips-card
chips:
- type: template
icon: mdi:lightbulb
content: Lys
icon_color: yellow
tap_action:
action: navigate
navigation_path: lys
- type: template
icon: mdi:heating-coil
content: Varme
icon_color: red
tap_action:
action: navigate
navigation_path: varme
alignment: center
style: |
:host {
padding-bottom: 1em;
}
- type: custom:gap-card
height: 10
- type: custom:stack-in-card
mode: horizontal
cards:
- type: custom:mushroom-person-card
entity: person.rolf_bagge
- type: custom:mushroom-person-card
entity: person.berit_bagge
- type: custom:gap-card
height: 10
- type: custom:room-card
title: Køkken
entity: light.kokken_alle_gruppe
icon: mdi:stove
show_icon: true
tap_action:
action: navigate
navigate_path: kokken
info_entities:
- entity: sensor.wavin_9000_temperature_kokken
show_icon: false
rows:
- entities:
- entity: light.flowerpot
show_icon: true
name: Flowerpot
tap_action:
action: toggle
- entity: light.vetrineskab
show_icon: true
name: Vetrine
tap_action:
action: toggle
- entity: sensor.mikroovn_plug_current
icon:
template:
icon: >
return "mdi:microwave";
styles: |
if (entity.state > 0) return "color: yellow";
else if (entity.state > 50) return "color: red";
else return "color: white;";
show_icon: true
name: Mikroovn
- entity: sensor.opvaskemaskine_strom
show_icon: true
name: Opvasker
icon:
template:
icon: >
return "mdi:dishwasher";
styles: |
if (entity.state > 5) return "color: red";
else return "color: white";
style: |
ha-card .entities-info-row {
padding: 5px 20px 5px;
}
- type: custom:room-card
title: Stue
entity: light.stue_gruppe
icon: mdi:sofa
show_icon: true
tap_action:
action: navigate
navigate_path: stue
info_entities:
- entity: sensor.wavin_9000_temperature_stue
show_icon: false
card_mod:
style: |
ha-card .entities-info-row {
padding: 5px 20px 5px;
}