Component error - path seems wrong updating HA2025.2

After updating to HA1025.2 Aristin integration sensor stops to work.
I received this error:
Component error: ariston - cannot import name ‘DEVICE_CLASS_CONNECTIVITY’ from ‘homeassistant.components.binary_sensor’ (/usr/src/homeassistant/homeassistant/components/binary_sensor/init.py)

The previous path for Ariston sensor was:
homeassistant/custom_components/ariston/

How can I change HA to read the original path?
I have copied all the files into /usr/src/homeassistant/homeassistant/components as requested from the error but it doesn’t work.
PLease help me to understand what is wrong.
Regards.