lovelace-views - Incorrect type. Expected "object". #518
Unanswered
slezak-petr
asked this question in
Q&A
Replies: 1 comment
-
Same exact issue here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I have lovelace in splited yaml files
ui-lovelace.yaml
views: !include_dir_merge_list lovelace/views/
lovelace/views/lovelace_file.yaml
icon: mdi:numeric
cards:
title: Example
entities:
name: LR Lights
By Visual studio I get error:
Incorrect type. Expected "object".
yaml-schema: http://schemas.home-assistant.io/lovelace-views
But lovelace WORKS
I was tried changed:
ui-lovelace.yaml
views: !include_dir_merge__named lovelace/views/
and in lovelace/views/lovelace_file.yaml change to:
(without a dash at the beginning of the code)
title: My title of view
icon: mdi:numeric
cards:
title: Example
entities:
...
Than for Visual studio Code its OK,
but lovelace does not work
Beta Was this translation helpful? Give feedback.
All reactions