fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user