black-roland / homeassistant-microsoft-todo

The integration allows you to create tasks in Microsoft To Do from Home Assistant.
MIT License
110 stars 8 forks source link

Deprecation of homeassistant-microsoft-todo #98

Open black-roland opened 1 year ago

black-roland commented 1 year ago

Unfortunately, I didn't have much time resources to maintain this project so it's in a kind of abandoned state.

Home Assistant 2023.11 introduced new todo domain. I started looking into details and found out that there is a better alternative to my integration which already supports this new domain — O365-HomeAssistant. It's maintained, well documented and has some extra features so probably there is not much sense in homeassistant-microsoft-todo integration anymore.

Please let me know if for some reason you'd like me to continue working on this project. Otherwise, I'd suggest migrating to O365-HomeAssistant.

black-roland commented 1 year ago

Migrating to O365-HomeAssistant should be relatively easy. You'd need to replace microsoft_todo configuration to something like this:

o365:
  accounts:
    - account_name: YourName
      client_id: "<the_same_id_as_for_microsoft_todo>"
      client_secret: "<the_same_secret_as_for_microsoft_todo>"
      alt_auth_method: False
      enable_update: False
      todo_sensors:
        enabled: True
        enable_update: True

Then in Azure you need to replace redirect URI to https://rogerselwyn.github.io/O365-HomeAssistant/authentication.html and need to add permissions for calendar and email if needed. You should get authorization request after restarting Home Assistant.

Also, please make sure to use different syntax for adding new tasks.

black-roland commented 1 year ago

Thank you all for your contributions. Appreciate it :hugs: