ErrorDomain Code=-1001

Perhaps this may help someone else…

After updating mobile OS and/or rebooting your phone/tablette, the HA app cannot connect to HA and returns ErrorDomain Code=-1001. First thing to do is to check that your device is back to the same wifi network and not on the « guest » wifi.