thomasloven / hass-lovelace_gen

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

deprecated 'SafeLineLoader' instead of 'PythonSafeLoader' #62

Open alegiovannelli opened 1 week ago

alegiovannelli commented 1 week 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 2 days ago

Update lovelace gen, this was fixed some time ago.