-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple accounts #26
Conversation
Still have services to handle
…ssistant into multiple-accounts
Giving this branch a whirl and I've hit an error with it starting up, here's the error:
Config: accounts:
- account_name: Aaron
client_id: !secret o365_aaron_client_id
client_secret: !secret o365_aaron_client_secret
enable_update: True
email_sensor:
- name: Aaron's inbox
folder: Inbox
max_items: 10
is_unread: True
download_attachments: False
status_sensors:
- name: "Aaron's Teams status" I know the client_id/client_secret are valid (I was using them before the upgrade to 3.0.0a8). Thoughts on what that might be, or how to debug further? |
Do you use alt_auth_flow as False (or not present) previously? This is it failing to get an external url from HA as configured in the settings of your HA instance. |
I can't even force my dev instance to generate that error, so there is something weird with your HTTP setup on your HA instance. |
Looks like you are using an older version of HA than I am which could be why I can't get the error (I can see they have made changes recently), but could be worth just using alternate path of authentication if you can't figure out what is wrong with your http config. |
That's it - I forgot that I'd used that previously (must have removed it from the config before my last git push). Added in and it works now, thanks - I'll see about testing multiple accounts now |
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 1.02%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |
Enable the usage of multiple O365 accounts