Zum Inhalt springen
FS schnyder.one
  • Tools
  • Über mich
  • Projekte
  • Setup
  • Logbuch
  • Kontakt
Startseite / Logbuch / Apple-Home-Theme

Anleitung Smart Home

Apple-Home-Look für Home Assistant

29. Oktober 2026 · ca. 6 Minuten Lesezeit

Mein Dashboard sieht aus wie die Home-App auf dem iPhone. Dafür braucht es nur ein einziges Theme. Hier teile ich es zum Herunterladen, mit Anleitung und ein paar Tipps für eigene Kacheln und das Wand-Tablet.

Zwei Varianten

Apple Homehell
Stehlampe80 %
DeckenlichtAus
Heizung21,5 °C
SteckdoseEin
Apple Home Darkimmer dunkel
Stehlampe80 %
DeckenlichtAus
Heizung21,5 °C
SteckdoseEin
  • Apple Home wechselt automatisch zwischen hell und dunkel, je nachdem, was am Gerät eingestellt ist. Das nutze ich für die Dashboards auf dem Handy und am Computer.
  • Apple Home Dark bleibt immer dunkel. Das ist für Tablets an der Wand gedacht, die abends nicht hell leuchten sollen.

Beide bringen runde Karten, die Systemfarben von Apple, einen dezenten Farbverlauf im Hintergrund und die Systemschrift mit: SF Pro auf iPhone, iPad und Mac, Segoe UI unter Windows und Roboto auf Android. Es wird nichts nachgeladen, und HACS braucht es dafür nicht.

Installation

  1. Themes in der configuration.yaml aktivieren, falls das noch nicht passiert ist:
    frontend:
      themes: !include_dir_merge_named themes
  2. Die Datei apple_home.yaml herunterladen und im Ordner /config/themes/ ablegen, zum Beispiel mit File Editor oder Studio Code Server.
  3. Home Assistant neu starten. Waren Themes schon aktiv, reicht unter Entwicklerwerkzeuge → Aktionen die Aktion frontend.reload_themes.
  4. Im eigenen Profil unter «Theme» Apple Home wählen und den Modus auf «Automatisch» stellen.

Theme herunterladen

Theme für alle festlegen

Die Auswahl im Profil gilt nur für die eigene Person. Soll ein Dashboard bei allen gleich aussehen, legt man das Theme in der Ansicht fest: im Editor der Ansicht unter «Theme» oder direkt im YAML.

# eine der beiden Zeilen pro Ansicht
theme: Apple Home        # hell oder dunkel, je nach Gerät
theme: Apple Home Dark   # immer dunkel

Ich setze es bei jeder Ansicht. So sieht das Dashboard auch auf neuen Geräten und bei allen im Haushalt gleich aus.

Eigene Kacheln mit den Theme-Farben

Normale Karten übernehmen Farben, Rundungen und Abstände direkt. Zusätzlich bringt das Theme eigene Variablen mit, alle mit ah- am Anfang: Hintergründe für Kacheln an und aus, drei Textfarben, Schatten und die Apple-Systemfarben. Damit baue ich mit der button-card aus HACS Kacheln wie in der Home-App. Die Vorlage kommt im Raw-Konfigurationseditor des Dashboards ganz nach oben:

button_card_templates:
  ah_kachel:
    layout: icon_name_state2nd
    show_state: true
    styles:
      card:
        - padding: 12px 14px
        - border-radius: var(--ah-radius)
        - background: var(--ah-tile-off)
        - box-shadow: var(--ah-shadow)
      name:
        - color: var(--ah-text)
        - font-weight: 600
      state:
        - color: var(--ah-text-2)
    state:
      - value: "on"
        styles:
          card:
            - background: var(--ah-tile-on)
          name:
            - color: var(--ah-tile-on-text)
          state:
            - color: var(--ah-tile-on-text-2)

Eine Kachel braucht danach nur noch drei Zeilen:

type: custom:button-card
template: ah_kachel
entity: light.stehlampe

Weil die Farben aus dem Theme kommen, passt die Kachel automatisch zu hell und dunkel. Ich baue alle eigenen Karten auf wenigen solchen Vorlagen auf. So bleiben Farben, Rundungen und Abstände überall gleich, und eine Änderung wirkt auf allen Seiten.

Tipps fürs Wand-Tablet

  • Immer dunkel: Die Ansichten fürs Tablet bekommen Apple Home Dark. So bleibt die Anzeige ruhig und blendet abends nicht.
  • Vollbild: kiosk-mode aus HACS blendet Kopfzeile und Seitenleiste aus. In der Dashboard-Konfiguration reicht dafür:
    kiosk_mode:
      kiosk: true
    Zum Bearbeiten hängt man ?disable_km an die Adresse.
  • Eigener Benutzer: Das Tablet meldet sich mit einem eigenen Konto ohne Admin-Rechte an. So kann dort niemand aus Versehen Einstellungen ändern.
  • Erst fragen, dann schalten: Ein Türschloss oder eine Alarmanlage gehört am Tablet nicht auf einen einzigen Tipp. Home Assistant kann vorher nachfragen:
    tap_action:
      action: perform-action
      perform_action: lock.unlock
      target:
        entity_id: lock.tuer
      confirmation:
        text: Tür wirklich öffnen?

Was sich bewährt hat

  • Glaseffekt sparsam einsetzen: Der Weichzeichner (backdrop-filter) sieht schön aus, kostet auf älteren Tablets aber viel Leistung. Ich nutze ihn nur in der Navigationsleiste.
  • Bewegung reduzieren respektieren: Animationen in eigenen Karten laufen nur, wenn am Gerät «Bewegung reduzieren» aus ist. In CSS geht das mit @media (prefers-reduced-motion: no-preference).
  • Lieber leer als geschätzt: Fehlt ein Sensor, steht im Dashboard «nicht messbar». Eine geschätzte Zahl sieht echt aus und führt in die Irre.
  • In mehreren Grössen testen: iPad quer und hoch, Handy und Computer. Was auf dem grossen Bildschirm passt, bricht auf dem Handy gern um.

Die ganze Datei

Wer lieber zuerst hineinschaut: Das ist der komplette Inhalt von apple_home.yaml.

# Apple Home – Theme für Home Assistant (hell + dunkel)
# Datei: /config/themes/apple_home.yaml

Apple Home:
  primary-font-family: "-apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"SF Pro Display\", \"Segoe UI Variable Text\", \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif"
  ha-font-family-body: "var(--primary-font-family)"
  ha-font-family-heading: "var(--primary-font-family)"
  paper-font-common-base_-_font-family: "var(--primary-font-family)"
  mdc-typography-font-family: "var(--primary-font-family)"
  ah-radius: "22px"
  ha-card-border-radius: "22px"
  ha-card-border-width: "1px"
  ha-dialog-border-radius: "26px"
  ha-view-sections-column-gap: "24px"
  ha-view-sections-row-gap: "16px"
  ha-section-grid-column-gap: "10px"
  ha-section-grid-row-gap: "10px"
  ha-heading-card-title-font-size: "20px"
  ha-heading-card-title-font-weight: "650"
  ha-heading-card-subtitle-font-size: "15px"
  ha-heading-card-subtitle-font-weight: "600"
  ha-card-header-font-size: "16px"
  modes:
    light:
      ah-bg: "#F2F2F7"
      ah-surface: "rgba(255, 255, 255, 0.80)"
      ah-surface-solid: "#FFFFFF"
      ah-nav-bg: "rgba(120, 120, 128, 0.12)"
      ah-fill: "rgba(120, 120, 128, 0.12)"
      ah-sep: "rgba(60, 60, 67, 0.10)"
      ah-border: "rgba(0, 0, 0, 0.045)"
      ah-shadow: "0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06)"
      ah-tile-off: "rgba(255, 255, 255, 0.62)"
      ah-tile-on: "#FFFFFF"
      ah-tile-on-text: "#1C1C1E"
      ah-tile-on-text-2: "#6C6C70"
      ah-text: "#1C1C1E"
      ah-text-2: "#6C6C70"
      ah-text-3: "#8E8E93"
      ah-blue: "#007AFF"
      ah-green: "#34C759"
      ah-green-text: "#248A3D"
      ah-orange: "#FF9500"
      ah-amber: "#FF9F0A"
      ah-yellow: "#FFCC00"
      ah-red: "#FF3B30"
      ah-pink: "#FF2D55"
      ah-purple: "#AF52DE"
      ah-indigo: "#5856D6"
      ah-teal: "#30B0C7"
      ah-cyan: "#32ADE6"
      primary-color: "#007AFF"
      accent-color: "#FF9500"
      rgb-primary-color: "0, 122, 255"
      primary-text-color: "#1C1C1E"
      secondary-text-color: "#6C6C70"
      disabled-text-color: "#AEAEB2"
      text-primary-color: "#FFFFFF"
      primary-background-color: "#F2F2F7"
      secondary-background-color: "#E5E5EA"
      card-background-color: "#FFFFFF"
      ha-card-background: "rgba(255, 255, 255, 0.80)"
      ha-card-border-color: "rgba(0, 0, 0, 0.045)"
      ha-card-box-shadow: "0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06)"
      divider-color: "rgba(60, 60, 67, 0.12)"
      lovelace-background: "radial-gradient(1100px 700px at 0% 0%, #E3ECFA 0%, rgba(227, 236, 250, 0) 60%), radial-gradient(900px 650px at 100% 0%, #FBEBDD 0%, rgba(251, 235, 221, 0) 55%), linear-gradient(180deg, #F4F5F9 0%, #F2F2F7 100%)"
      app-header-background-color: "#EEF1F7"
      app-header-text-color: "#1C1C1E"
      app-header-selection-bar-color: "#007AFF"
      app-header-edit-background-color: "#D1D1D6"
      sidebar-background-color: "#F2F2F7"
      sidebar-text-color: "#1C1C1E"
      sidebar-icon-color: "#6C6C70"
      sidebar-selected-text-color: "#007AFF"
      sidebar-selected-icon-color: "#007AFF"
      switch-checked-color: "#34C759"
      switch-checked-button-color: "#FFFFFF"
      switch-checked-track-color: "#34C759"
      state-icon-color: "#6C6C70"
      state-light-active-color: "#FF9F0A"
      state-switch-active-color: "#34C759"
      state-fan-active-color: "#32ADE6"
      state-climate-heat-color: "#FF9500"
      state-climate-cool-color: "#32ADE6"
      state-climate-dry-color: "#FFCC00"
      state-climate-fan_only-color: "#30B0C7"
      state-climate-auto-color: "#34C759"
      state-climate-heat_cool-color: "#FF9500"
      state-lock-locked-color: "#34C759"
      state-lock-unlocked-color: "#FF9500"
      state-media_player-active-color: "#AF52DE"
      state-vacuum-active-color: "#30B0C7"
      state-water_heater-active-color: "#FF9500"
      energy-solar-color: "#FFB800"
      energy-grid-return-color: "#AF52DE"
      energy-grid-consumption-color: "#32ADE6"
      energy-non-fossil-color: "#34C759"
      graph-color-1: "#007AFF"
      graph-color-2: "#FF9500"
      graph-color-3: "#34C759"
      graph-color-4: "#AF52DE"
      graph-color-5: "#FF2D55"
      graph-color-6: "#30B0C7"
      graph-color-7: "#FFCC00"
      graph-color-8: "#5856D6"
    dark:
      ah-bg: "#0B0B0E"
      ah-surface: "rgba(44, 44, 48, 0.70)"
      ah-surface-solid: "#1C1C1E"
      ah-nav-bg: "rgba(118, 118, 128, 0.20)"
      ah-fill: "rgba(120, 120, 128, 0.26)"
      ah-sep: "rgba(255, 255, 255, 0.08)"
      ah-border: "rgba(255, 255, 255, 0.06)"
      ah-shadow: "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 28px rgba(0, 0, 0, 0.38)"
      ah-tile-off: "rgba(255, 255, 255, 0.08)"
      ah-tile-on: "rgba(255, 255, 255, 0.94)"
      ah-tile-on-text: "#1C1C1E"
      ah-tile-on-text-2: "#5E5E63"
      ah-text: "#F5F5F7"
      ah-text-2: "#A1A1A6"
      ah-text-3: "#7C7C80"
      ah-blue: "#0A84FF"
      ah-green: "#30D158"
      ah-green-text: "#30D158"
      ah-orange: "#FF9F0A"
      ah-amber: "#FFB340"
      ah-yellow: "#FFD60A"
      ah-red: "#FF453A"
      ah-pink: "#FF375F"
      ah-purple: "#BF5AF2"
      ah-indigo: "#5E5CE6"
      ah-teal: "#40C8E0"
      ah-cyan: "#64D2FF"
      primary-color: "#0A84FF"
      accent-color: "#FF9F0A"
      rgb-primary-color: "10, 132, 255"
      primary-text-color: "#F5F5F7"
      secondary-text-color: "#A1A1A6"
      disabled-text-color: "#636366"
      text-primary-color: "#FFFFFF"
      primary-background-color: "#0B0B0E"
      secondary-background-color: "#1C1C1E"
      card-background-color: "#1C1C1E"
      ha-card-background: "rgba(44, 44, 48, 0.70)"
      ha-card-border-color: "rgba(255, 255, 255, 0.06)"
      ha-card-box-shadow: "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 28px rgba(0, 0, 0, 0.38)"
      divider-color: "rgba(84, 84, 88, 0.45)"
      lovelace-background: "radial-gradient(1100px 700px at 0% 0%, #16223A 0%, rgba(22, 34, 58, 0) 60%), radial-gradient(900px 650px at 100% 0%, #2A1C14 0%, rgba(42, 28, 20, 0) 55%), linear-gradient(180deg, #0E0F13 0%, #0B0B0E 100%)"
      app-header-background-color: "#0F1117"
      app-header-text-color: "#F5F5F7"
      app-header-selection-bar-color: "#0A84FF"
      app-header-edit-background-color: "#2C2C2E"
      sidebar-background-color: "#0B0B0E"
      sidebar-text-color: "#F5F5F7"
      sidebar-icon-color: "#A1A1A6"
      sidebar-selected-text-color: "#0A84FF"
      sidebar-selected-icon-color: "#0A84FF"
      switch-checked-color: "#30D158"
      switch-checked-button-color: "#FFFFFF"
      switch-checked-track-color: "#30D158"
      state-icon-color: "#A1A1A6"
      state-light-active-color: "#FFB340"
      state-switch-active-color: "#30D158"
      state-fan-active-color: "#64D2FF"
      state-climate-heat-color: "#FF9F0A"
      state-climate-cool-color: "#64D2FF"
      state-climate-dry-color: "#FFD60A"
      state-climate-fan_only-color: "#40C8E0"
      state-climate-auto-color: "#30D158"
      state-climate-heat_cool-color: "#FF9F0A"
      state-lock-locked-color: "#30D158"
      state-lock-unlocked-color: "#FF9F0A"
      state-media_player-active-color: "#BF5AF2"
      state-vacuum-active-color: "#40C8E0"
      state-water_heater-active-color: "#FF9F0A"
      energy-solar-color: "#FFC21A"
      energy-grid-return-color: "#BF5AF2"
      energy-grid-consumption-color: "#64D2FF"
      energy-non-fossil-color: "#30D158"
      graph-color-1: "#0A84FF"
      graph-color-2: "#FF9F0A"
      graph-color-3: "#30D158"
      graph-color-4: "#BF5AF2"
      graph-color-5: "#FF375F"
      graph-color-6: "#40C8E0"
      graph-color-7: "#FFD60A"
      graph-color-8: "#5E5CE6"

# Immer dunkel (z. B. für Wand-Tablets)
Apple Home Dark:
  primary-font-family: "-apple-system, BlinkMacSystemFont, \"SF Pro Text\", \"SF Pro Display\", \"Segoe UI Variable Text\", \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif"
  ha-font-family-body: "var(--primary-font-family)"
  ha-font-family-heading: "var(--primary-font-family)"
  paper-font-common-base_-_font-family: "var(--primary-font-family)"
  mdc-typography-font-family: "var(--primary-font-family)"
  ah-radius: "22px"
  ha-card-border-radius: "22px"
  ha-card-border-width: "1px"
  ha-dialog-border-radius: "26px"
  ha-view-sections-column-gap: "24px"
  ha-view-sections-row-gap: "16px"
  ha-section-grid-column-gap: "10px"
  ha-section-grid-row-gap: "10px"
  ha-heading-card-title-font-size: "20px"
  ha-heading-card-title-font-weight: "650"
  ha-heading-card-subtitle-font-size: "15px"
  ha-heading-card-subtitle-font-weight: "600"
  ha-card-header-font-size: "16px"
  ah-bg: "#0B0B0E"
  ah-surface: "rgba(44, 44, 48, 0.70)"
  ah-surface-solid: "#1C1C1E"
  ah-nav-bg: "rgba(118, 118, 128, 0.20)"
  ah-fill: "rgba(120, 120, 128, 0.26)"
  ah-sep: "rgba(255, 255, 255, 0.08)"
  ah-border: "rgba(255, 255, 255, 0.06)"
  ah-shadow: "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 28px rgba(0, 0, 0, 0.38)"
  ah-tile-off: "rgba(255, 255, 255, 0.08)"
  ah-tile-on: "rgba(255, 255, 255, 0.94)"
  ah-tile-on-text: "#1C1C1E"
  ah-tile-on-text-2: "#5E5E63"
  ah-text: "#F5F5F7"
  ah-text-2: "#A1A1A6"
  ah-text-3: "#7C7C80"
  ah-blue: "#0A84FF"
  ah-green: "#30D158"
  ah-green-text: "#30D158"
  ah-orange: "#FF9F0A"
  ah-amber: "#FFB340"
  ah-yellow: "#FFD60A"
  ah-red: "#FF453A"
  ah-pink: "#FF375F"
  ah-purple: "#BF5AF2"
  ah-indigo: "#5E5CE6"
  ah-teal: "#40C8E0"
  ah-cyan: "#64D2FF"
  primary-color: "#0A84FF"
  accent-color: "#FF9F0A"
  rgb-primary-color: "10, 132, 255"
  primary-text-color: "#F5F5F7"
  secondary-text-color: "#A1A1A6"
  disabled-text-color: "#636366"
  text-primary-color: "#FFFFFF"
  primary-background-color: "#0B0B0E"
  secondary-background-color: "#1C1C1E"
  card-background-color: "#1C1C1E"
  ha-card-background: "rgba(44, 44, 48, 0.70)"
  ha-card-border-color: "rgba(255, 255, 255, 0.06)"
  ha-card-box-shadow: "0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 28px rgba(0, 0, 0, 0.38)"
  divider-color: "rgba(84, 84, 88, 0.45)"
  lovelace-background: "radial-gradient(1200px 800px at 0% 0%, #121B2E 0%, rgba(18, 27, 46, 0) 60%), radial-gradient(900px 650px at 100% 0%, #22170F 0%, rgba(34, 23, 15, 0) 55%), linear-gradient(180deg, #0C0D11 0%, #08080B 100%)"
  app-header-background-color: "#0F1117"
  app-header-text-color: "#F5F5F7"
  app-header-selection-bar-color: "#0A84FF"
  app-header-edit-background-color: "#2C2C2E"
  sidebar-background-color: "#0B0B0E"
  sidebar-text-color: "#F5F5F7"
  sidebar-icon-color: "#A1A1A6"
  sidebar-selected-text-color: "#0A84FF"
  sidebar-selected-icon-color: "#0A84FF"
  switch-checked-color: "#30D158"
  switch-checked-button-color: "#FFFFFF"
  switch-checked-track-color: "#30D158"
  state-icon-color: "#A1A1A6"
  state-light-active-color: "#FFB340"
  state-switch-active-color: "#30D158"
  state-fan-active-color: "#64D2FF"
  state-climate-heat-color: "#FF9F0A"
  state-climate-cool-color: "#64D2FF"
  state-climate-dry-color: "#FFD60A"
  state-climate-fan_only-color: "#40C8E0"
  state-climate-auto-color: "#30D158"
  state-climate-heat_cool-color: "#FF9F0A"
  state-lock-locked-color: "#30D158"
  state-lock-unlocked-color: "#FF9F0A"
  state-media_player-active-color: "#BF5AF2"
  state-vacuum-active-color: "#40C8E0"
  state-water_heater-active-color: "#FF9F0A"
  energy-solar-color: "#FFC21A"
  energy-grid-return-color: "#BF5AF2"
  energy-grid-consumption-color: "#64D2FF"
  energy-non-fossil-color: "#30D158"
  graph-color-1: "#0A84FF"
  graph-color-2: "#FF9F0A"
  graph-color-3: "#30D158"
  graph-color-4: "#BF5AF2"
  graph-color-5: "#FF375F"
  graph-color-6: "#40C8E0"
  graph-color-7: "#FFD60A"
  graph-color-8: "#5E5CE6"

Theme herunterladen

Geschrieben mit Unterstützung von Claude (KI), geprüft von Florian.

Alle Einträge im Logbuch

Inhalt

  1. Zwei Varianten
  2. Installation
  3. Theme für alle festlegen
  4. Eigene Kacheln
  5. Tipps fürs Wand-Tablet
  6. Was sich bewährt hat
  7. Die ganze Datei
FS

Florian Schnyder © 2026

Impressum Datenschutz Nutzungsbedingungen
florian@schnyder.one

Built with curiosity · Keine Cookies · Selbst gehostete Statistik