# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder + inject Google Fonts
frontend:
  themes: !include_dir_merge_named themes
  extra_module_url:
    - /local/fonts-loader.js
    - /local/assist-fix.js

# Legacy includes (kept for back-compat)
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

# REST sensors for homelab services (Sonarr, Radarr, Bazarr, SABnzbd, LazyLibrarian, ABS, Plex)
sensor: !include sensors.yaml

# Custom YAML-mode dashboards (per-room + cameras)
# Default "Overview" dashboard stays in storage mode.
lovelace:
  mode: storage
  dashboards:
    home-view:
      mode: yaml
      title: Home
      icon: mdi:home
      show_in_sidebar: true
      filename: dashboards/home.yaml
    living-room:
      mode: yaml
      title: Living Room
      icon: mdi:sofa
      show_in_sidebar: true
      filename: dashboards/livingroom.yaml
    kitchen-view:
      mode: yaml
      title: Kitchen
      icon: mdi:stove
      show_in_sidebar: true
      filename: dashboards/kitchen.yaml
    bathroom-view:
      mode: yaml
      title: Bathroom
      icon: mdi:shower
      show_in_sidebar: true
      filename: dashboards/bathroom.yaml
    bedroom-view:
      mode: yaml
      title: Bedroom
      icon: mdi:bed
      show_in_sidebar: true
      filename: dashboards/bedroom.yaml
    cameras-view:
      mode: yaml
      title: Cameras
      icon: mdi:cctv
      show_in_sidebar: true
      filename: dashboards/cameras.yaml
    homelab-view:
      mode: yaml
      title: Homelab
      icon: mdi:server
      show_in_sidebar: true
      filename: dashboards/homelab.yaml
    homelab-web:
      mode: yaml
      title: Homelab Web
      icon: mdi:home-analytics
      show_in_sidebar: true
      filename: dashboards/homelab_web.yaml
    crista-web:
      mode: yaml
      title: Crista
      icon: mdi:heart
      show_in_sidebar: true
      filename: dashboards/crista.yaml
