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

Cards Configuration error

$
0
0

@Fabio7586 wrote:

Hello, i have a problem with cards:
i’ve splitted my configuration in a several files, so when i write following code

  - type: vertical-stack
    cards:
        - type: horizontal-stack
          cards:
           - type: entities
             title: Luci Soggiorno
             entities:
                      - entity: light.luci_ingresso
                        name: Luci Ingresso
                        
                      - entity: light.luci_divano     
                        name: Luci Divano
                        
                      - entity: light.luci_tv
                        name: Luci TV
                        
                      - entity: light.applique_sinistro
                        name: Applique Sinistro
                        
                      - entity: light.applique_destro
                        name: Applique Destro
  - type: vertical-stack
    cards:
      - type: horizontal-stack
        cards:
         - type: media-control
           title: TV Soggiorno
           entities:
                    - entity: media_player.tv_soggiorno
                      name: Tv Soggiorno
                    - entity: media_player.yamaha_receiver
                      name: Sinto Yamaha RX-V483

in Cards_soggiorno.yaml, it give me error

If i write media-control code in the views.yaml referred to soggiorno, it works! only in a splitted cards it don’t work! I’ve checked several times the indent and it seems correct!
Please help me!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95464

Trending Articles