Naben,
ich habe da ein Problem. Ich habe mein Dashboard endlich soweit fertig, was mein Monk aber richtig triggert, ist die Tatsache das ich in der Welcome Card, keine Deutsche Zeit bzw Datum integriert bekomme.
Kann mir da jemand helfen?
Anbei der Code:
type: vertical-stack
cards:
- type: custom:mushroom-title-card
title: |2-
{%- if now().hour < 12 -%}Guten Morgen
{%- elif now().hour < 18 -%}Guten Tag
{%- else -%}Guten Abend{%- endif -%}, {{user}}
subtitle: >-
{{as_timestamp(state_attr("calendar.bins","start_time") |
default(now(),true) )| timestamp_custom('%A %-d. %B %Y, %H:%M') }}
alignment: center
- type: horizontal-stack
cards:
- type: custom:mushroom-chips-card
card_mod:
style: |
:host {
padding-top: 10px;
padding-left: 10px;
padding-bottom: 25px;
--ha-card-background: #1A1A1A;
}
chips:
- type: action
icon_color: orange
entity: light.alles_aus
tap_action:
action: toggle
icon: mdi:lightbulb-group
hold_action:
action: more-info
double_tap_action:
action: none
- type: action
icon_color: red
entity: switch.fritz_box_7590_wi_fi_gez_meldewagen_50
tap_action:
action: more-info
hold_action:
action: toggle
icon: mdi:wifi
- type: action
icon_color: red
entity: switch.fritz_box_7590_wi_fi_gez_meldewagen_24
tap_action:
action: more-info
hold_action:
action: toggle
icon: mdi:wifi
- type: action
icon_color: blue-grey
entity: media_player.wohnzimmer
icon: mdi:apple
tap_action:
action: more-info
- type: action
icon_color: blue
hold_action:
action: none
double_tap_action:
action: none
icon: mdi:water
entity: sensor.water_heaters
tap_action:
action: toggle
- type: action
icon_color: white
icon: mdi:motion-sensor
entity: switch.flur_motion_bewegungssensor_aktiviert
hold_action:
action: none
double_tap_action:
action: none
tap_action:
action: toggle
alignment: justify
- type: horizontal-stack
cards:
- type: custom:mushroom-person-card
entity: device_tracker.iphone_von_daniel_de_biasi
name: Daniel
fill_container: true
icon: mdi:baby-face
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
layout: horizontal
secondary_info: state
primary_info: name
icon_type: icon
card_mod:
style: |
:host {
--ha-card-background: #1A1A1A;
}
- type: custom:mushroom-person-card
entity: device_tracker.m2011k2g_2
name: Vivien
fill_container: true
icon: mdi:face-woman
tap_action:
action: more-info
hold_action:
action: none
double_tap_action:
action: none
card_mod:
style: |
:host {
--ha-card-background: #1A1A1A;
}
layout: horizontal
grid_options:
columns: 12
rows: 4
card_mod:
style: |
ha-card {
padding-left: 25px;
padding-right: 25px;
padding-bottom: 25px;
}
}
hier auch noch ein kleines problem, die Anwesendheitsbutton, würde ich gern ebenfalls noch in diesem iOS Glas haben. ![]()



