Makes the sign-in work from the Home Assistant Android app, and explains Microsoft's new Terms of Use prompt.
Fixed
- Signing in from the Android app never finished (#50). The app opens the Microsoft page in its own in-app browser and closes the setup dialog, so nothing was left to take the next step: the sign-in succeeded but was never saved. The integration now finishes the flow on its own when nobody follows it for 20 seconds, and the completion page sends you back to the integration page in the app. On a desktop browser nothing changes.
- The completion page looked blank on phones: black text on the app's dark background. It now has proper light and dark colours.
reconfigure_successfulwas shown as a raw key at the end of a reconfiguration. It is now translated.
Changed
- Microsoft's updated Terms of Use. Since 24 September Microsoft asks accounts to accept updated Terms of Use, which blocks the automatic daily renewal. The integration never accepts terms on your behalf: it now says so in the reauthentication notification and in a new
account_interruptattribute of the Connection sensor. Sign in again from Home Assistant and accept the terms, or simply accept them at account.microsoft.com; the session then renews on its own again.