thomasloven / hass-lovelace_gen

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

deprecated 'SafeLineLoader' instead of 'PythonSafeLoader' #62

Open alegiovannelli opened 5 months ago

alegiovannelli commented 5 months ago

Detected that custom integration 'lovelace_gen' uses deprecated 'SafeLineLoader' instead of 'PythonSafeLoader', which will stop working in HA Core 2024.6, at custom_components/lovelace_gen/init.py, line 34: return loader.yaml.load(stream, Loader=lambda _stream: loader.SafeLineLoader(_stream, secrets)) or OrderedDict(), please report it to the author of the 'lovelace_gen' custom integration

Error generated in logs with version 2024.6

How can resolve? Thank you.

Petro31 commented 4 months ago

Update lovelace gen, this was fixed some time ago.