There seem to be a consensus about a solution that works for almost everyone (and for me):
- Update HA to 2021.3.2
- Use the curl fix (as posted by @lolongan - see below*)
- Log out of the Dyson app (on iOS or Android)
- Log back in
- Use the Dyson app to change the state of your Dyson product
- Restart HA
Some people had to delete and reinstall the Dyson app on their phone
*curl fix:
The instructions are to execute the following commands directly on your HA instance:
cd /usr/local/lib/python3.8/site-packages/libpurecool/
mv dyson.py dyson.py.old
curl -O https://raw.githubusercontent.com/bfayers/libpurecool/fix_auth/libpurecool/dyson.py
If everything works you can then delete the dyson.py.old
file with :
rm dyson.py.old