This plugin only support robots with local password. The local password has been disabled on newer units. See https://github.com/Ekman/home-assistant-pure-i9 for cloud only support.
Most of the code is taken from: https://github.com/Phype/purei9-cli
The vacuum needs a static ip address. Add this to your ha config:
vacuum:
- platform: electrolux_purei9
name: <vacuum name>
email: <electroLux/AEG email>
password: <electroLux/AEG password>
ip_address: "<static ip of the vacuum>" # example: "192.168.1.123"