Please try to (re)move the dependencies directory:
systemctl stop home-assistant
mv /mnt/dietpi_userdata/homeassistant/deps /mnt/dietpi_userdata/homeassistant/deps.bak
systemctl start home-assistant
HA reinstalls them on service start and when accessing related integrations. We’ve seen other cases where conflicting dependencies among HA and the individual integrations, as well as when Python itself is upgraded (via reinstall) are causing such kind of problems.