diff --git a/dashboards/views/02_person_status.yaml b/dashboards/views/02_person_status.yaml index ce81a34..ac2334e 100644 --- a/dashboards/views/02_person_status.yaml +++ b/dashboards/views/02_person_status.yaml @@ -2,12 +2,15 @@ title: Person Status path: person-status icon: mdi:account-group type: sections +max_columns: 1 # Γ©n kolonne for fuld bredde sections: + + # πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Personer (2x2 grid) - type: grid + columns: 2 + square: false cards: - - type: heading - heading: Person status - type: entities title: Daniel @@ -32,3 +35,45 @@ sections: entities: - entity: person.andreas_schusler_dethlefsen - entity: input_select.andreas_status + + + # πŸ—ΊοΈ Popup kort nederst + - type: grid + cards: + - type: custom:button-card + name: Γ…bn kort + icon: mdi:map + show_state: false + styles: + card: + - border-radius: 16px + - padding: 14px + - background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.1)) + icon: + - color: var(--primary-color) + name: + - font-size: 14px + - font-weight: 600 + tap_action: + action: call-service + service: browser_mod.popup + service_data: + title: πŸ“ Familien + size: fullscreen + style: + --popup-border-radius: 20px + --popup-background-color: rgba(0,0,0,0.9) + content: + type: map + default_zoom: 12 + hours_to_show: 6 + aspect_ratio: 1 + entities: + - entity: device_tracker.andreas_iphone_12 + name: Andreas + - entity: device_tracker.daniels_iphone_7_3 + name: Daniel + - entity: device_tracker.annes_iphone_xs_4 + name: Anne + - entity: device_tracker.clausiphone + name: Claus