hass-lovelace_gen: Incompatible with 2022.7?

Tried upgrading HA to 2022.7 and I’m getting “Unknown error” without any errors in the console or logs. Can’t get the UI to show until I comment out my lovelace_gen include. Anyone else having this issue?

Example from my UI-lovelace.yaml file causing the error:

      - !include
        - lovelace/xiaomi_vacuum.yaml
        - vacuum: vacuum.rockrobo_2nd_floor
          camera: camera.rockrobo_2nd_floor_map
          zones: input_select.rockrobo_2nd_floor_zones
          title: Second Floor Vacuum

About this issue

Most upvoted comments

I just put up a PR that should fix this in #42. It undoes the performance improvement (using the C Loader for YAML) from Home Assistant 2022.7, but that seems to be an acceptable trade off.

You have a space after your ! And an s on the end. It should be.

!include lovelace\test.yaml

I find out that it’s the variables that causing it to not work for some reason.

Doesn’t work:

views:
  - !include 
    - lovelace_floorplan_data.yaml
    - floorplan_type: mobile

Works:

views:
  - !include lovelace_floorplan_data.yaml

Anyone knows why or how to solve it?