bosch-thermostat / home-assistant-bosch-custom-component

HA custom component for Bosch thermostats
Apache License 2.0
234 stars 45 forks source link

Detected that custom integration 'bosch' uses save_json from homeassistant.util.json module. #384

Open haaino opened 9 months ago

haaino commented 9 months ago

Hi all,

Got the following error message in my logfile when I tried to create a debug_scan:


Logger: homeassistant.helpers.frame Source: helpers/frame.py:133 First occurred: 10:54:59 (1 occurrences) Last logged: 10:54:59

Detected that custom integration 'bosch' uses save_json from homeassistant.util.json module. This is deprecated and will stop working in Home Assistant 2022.4, it should be updated to use homeassistant.helpers.json module instead at custom_components/bosch/init.py, line 465: save_json(filename, rawscan), please create a bug report at https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/issues


I use the latest version of bosch integration and I'm on HASS 2024.2

Hope this helps.

pszafer commented 9 months ago

I tried twice in 2022 to change to this function but it wasn't working. I'll check now as it's 2024 now ;)