thomasloven / hass-lovelace_gen

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

How to show post-processed yaml file? #51

Closed dajomas closed 1 year ago

dajomas commented 1 year ago

Since the latest version of Home Assistant (2023.7.1, maybe it happened earlier but I noticed it just now) I get a warning that a YAML file contains duplicate key "conditions" and it shows me 2 line numbers (376 and 392) However, there are only 295 lines in the file so I can only assume it is in the file that is a result of the lovelace_gen processing.

How can I display the post-processed file?

Thanx for your help.

benjycov commented 1 year ago

I'm not aware of any way to view the post processed file.

However how I tend to troubleshoot these problems is by using the Template tool in HA (under developer tools), cut n paste for you lovelace_gen code into there and you can then view the output.

dajomas commented 1 year ago

Sorry for the late reply but THANX! That did the trick and helped me find the issue.