Simple Lovelace Date card

If you have mushroom cards installed, you can create a mushroom template card and add the code below
2022-04-18 08_16_56-System – Home Assistant – Google Chrome

type: custom:mushroom-template-card
primary: >-
  {% set danishWeekdays = ["MANDAG",
  "TIRSDAG","ONSDAG","TORSDAG","FREDAG","LØRDAG","SØNDAG"] %}

  {{ danishWeekdays[now().weekday()] }}
secondary: '{{ now().strftime(''%d/%m/%Y'') }}'
multiline_secondary: false
1 Like