Hey all,
Could someone please explain to me or at least point me in the direction of somewhere which explains how my YAML files should be structured.
- When should “type” have a - in front of it and when it shouldn’t
- How you configure horizontal stacks, what if you dont want it on the top row, maybe the second?
- What does “-” actually mean? Does it mean its a parent and any cards which follow are “children”
- How many spaces should there be and when there shouldn’t be any spaces/
I’ve been trying to work on this for the last 6 hours and various problems have cropped up throughout the night, this seems to be my last hurdle. Below is my ui-lovelace.yaml file which doesn’t display anything other than an error:
Error: “mapping values are not allowed here in “/config/ui-lovelace.yaml”, line 15, column 16”
YAML:
views:
# View tab title.
- title: Example
cards:
# The markdown card will render markdown text.
- type: markdown
title: Lovelace
content: >
Welcome to your **Lovelace UI**.
- type: entity-button
entity: switch.utility_light
action: toggle
type: horizontal-stack
cards:
- type: entity-button
entity: switch.utility_light
- type: entity-button
entity: switch.utility_light
I’ve formated my code, can anyone help me out correct this please?