thomasloven / hass-lovelace_gen

🔹 Improve the lovelace yaml parser for Home Assistant
MIT License
221 stars 22 forks source link

bug in !include syntax #34

Closed 50494554524F closed 2 years ago

50494554524F commented 2 years ago

if i use something like this

[cut yaml]    
cards:

      !include
      - test.yaml
      - params: 'test'

      - [other card]

it doesn't render the following yaml, so no other cards rendered.

if i use something like this

[cut yaml]    
cards:

  !include test.yaml

  - type:  'custom:layout-break'

it gives an error.

thanks

50494554524F commented 2 years ago

workaround: i encapsulate each include in a vertical-stack