Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107389

How to include dashboards within a package?

$
0
0

Hi experts,
In my configuration.yaml file, I have declared the packages section like this:
homeassistant:
packages: !include_dir_merge_named packages/

under packages subdirectory, I’m trying to pack all the related files for a given package. For example, for the package lights, I added the following structure under my config directory:
packages
|pack_lights
|lights_lovelace.yaml
|lights_groups.yaml
|lights_dashboard.yaml
|lights_automations.yaml
|…
|pack_covers

I have an error when I try to validate the configuration:

expected a dictionary for dictionary value @ data[‘packages’][‘title’]

It seems that the parser doesn’t like the content of my “lights_dashboard.yaml” file. It’s content is starting with the following:

title: Lumières
views:

  • title: ‘’
    path: ‘’
    badges: []
    cards:
    • type: button
      tap_action:
      action: more-info
      entity: group.lights_tout
      icon: mdi:lightbulb-group-outline
      show_state: false
      name: Toutes les lumières

All the other config files are OK!
Thanks in advance for your precious help.
Bilel

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107389

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>