Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables not working since 2022.7 #40

Open
Idan37S opened this issue Aug 5, 2022 · 2 comments · May be fixed by #42
Open

Variables not working since 2022.7 #40

Idan37S opened this issue Aug 5, 2022 · 2 comments · May be fixed by #42

Comments

@Idan37S
Copy link

Idan37S commented Aug 5, 2022

Since HA 2022.7 I'm getting "Unknown error" without any errors in the console or logs.
I can't get the UI to show until I remove the variables usage.

Anyone else having this issue?
Is anyone able to work with variables in 2022.7+?

Doesn't work:

title: FloorPlan Desktop
views:
  - !include
    - lovelace_floorplan_data.yaml
    - floorplan_type: desktop

Works:

title: FloorPlan Desktop
views:
  - !include lovelace_floorplan_data.yaml
@IDmedia
Copy link

IDmedia commented Aug 8, 2022

Duplicate of #39

@rohankapoorcom
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants