Syg-status: sluk alarmer+motion lys, kompakt person view

This commit is contained in:
2026-04-24 19:03:13 +02:00
parent 9f1dd20f06
commit df734d9259
6 changed files with 220 additions and 24 deletions
+60 -24
View File
@@ -2,42 +2,77 @@ title: Person Status
path: person-status
icon: mdi:account-group
type: sections
max_columns: 1 # én kolonne for fuld bredde
max_columns: 1
sections:
# 👨‍👩‍👧‍👦 Personer (2x2 grid)
# 👨‍👩‍👧‍👦 Personer kompakt 2x2 grid
- type: grid
columns: 2
square: false
cards:
- type: entities
title: Daniel
entities:
- entity: person.daniel_schusler_dethlefsen
- entity: input_select.daniel_status
- type: vertical-stack
cards:
- type: custom:mushroom-person-card
entity: person.andreas_schusler_dethlefsen
name: Andreas
secondary_info: last_changed
layout: horizontal
tap_action:
action: more-info
- type: custom:mushroom-select-card
entity: input_select.andreas_status
icon: mdi:account-heart
icon_color: >
{% if is_state('input_select.andreas_status', 'Syg') %}red{% else %}green{% endif %}
- type: entities
title: Claus
entities:
- entity: person.claus_dethlefsen
- entity: input_select.claus_status
- type: vertical-stack
cards:
- type: custom:mushroom-person-card
entity: person.daniel_schusler_dethlefsen
name: Daniel
secondary_info: last_changed
layout: horizontal
tap_action:
action: more-info
- type: custom:mushroom-select-card
entity: input_select.daniel_status
icon: mdi:account-heart
icon_color: >
{% if is_state('input_select.daniel_status', 'Syg') %}red{% else %}green{% endif %}
- type: entities
title: Anne
entities:
- entity: person.anne_schusler_dethlefsen
- entity: input_select.anne_status
- type: vertical-stack
cards:
- type: custom:mushroom-person-card
entity: person.anne_schusler_dethlefsen
name: Anne
secondary_info: last_changed
layout: horizontal
tap_action:
action: more-info
- type: custom:mushroom-select-card
entity: input_select.anne_status
icon: mdi:account-heart
icon_color: >
{% if is_state('input_select.anne_status', 'Syg') %}red{% else %}green{% endif %}
- type: entities
title: Andreas
entities:
- entity: person.andreas_schusler_dethlefsen
- entity: input_select.andreas_status
- type: vertical-stack
cards:
- type: custom:mushroom-person-card
entity: person.claus_dethlefsen
name: Claus
secondary_info: last_changed
layout: horizontal
tap_action:
action: more-info
- type: custom:mushroom-select-card
entity: input_select.claus_status
icon: mdi:account-heart
icon_color: >
{% if is_state('input_select.claus_status', 'Syg') %}red{% else %}green{% endif %}
# 🗺️ Popup kort nederst
# 🗺️ Popup kort
- type: grid
cards:
- type: custom:button-card
@@ -77,3 +112,4 @@ sections:
name: Anne
- entity: device_tracker.claus_iphone_15pro
name: Claus