How to refer a file outside the www-directory in a ui-based floorplan-dashboard?

At first: I’m still a beginner and the floorplan does work, but i want to make some adjustments which don’t work.

I did create a floorplan dashboard via ui and the embedded raw-configuration-editor.
The content (the important part, the rest does not affect the problem):

views:
  - title: Home
    config:
      show_side_bar: false
      show_app_header: false
    type: sidebar
    cards:
      - type: custom:floorplan-card
        full_height: true
        config: /local/community/ha-floorplan/home.yaml

This works fine.
Now i want to place the home.yaml file outside the www-directory. For that i created the folder ‘ha-floorplan’ directly inside the config-folder, so the new location is now:
/config/ha-floorplan/home.yaml

If i change the last line to (after that always restarting HA and refreshing cache):
config: /config/ha-floorplan/home.yaml or to
config: config/ha-floorplan/home.yaml or to
config: /ha-floorplan/home.yaml or to
config: ha-floorplan/home.yaml

i got a black screen and !include-statements don’t work in ui-mode-based dashboards.

SO, please:
is it possible to refer a file in a ui-mode-based dashboard outside the www-folder or does this only work on a yaml-mode-based dashboard [via !include-statement]?

Many thanks id advance!