Yup, there seems to be no support for this in CalDAV integration at this time.
I think there should be though, considering the protocol is the same and for display purposes I can’t see much of a difference between an event and a todo — other than perhaps a todo not having a due date at all, but these todos can be skipped for the purposes of mixing them with events.
How straightforward would it be to add CalDAV support for tasks into the Shopping List? I’m sort of at my wits end trying to figure out how to add a shopping list that can talk to my voice assistant through almost any means.
Given that all of the major voice assistants will add items to a named task list, CalDAV integration would take care of everything in one fell swoop.
If you’re talking Home Assistant’s shopping list, then… probably quite involved, most of the solution is presently just not there. I don’t think I’ve seen a CalDAV server in HA, only a client. And a server would probably be out of scope of HA, as it’s pretty far from home automation in general.
An external CalDAV server would probably be a better bet, though that depends on your needs of course. Something like Nextcloud Tasks or Baikal. Home Assistant at this time wouldn’t be able to access it though.
Depending on how much you can tweak your VA and what you need, Nextcloud Deck might be a decent choice: nice mobile app, exposes cards as CalDAV tasks (read-only though), reasonably simple HTTP API.
I use Fastmail as my email and calendar provider, and their CalDAV server provides enough functionality to do this kind of simple plugin. I’ve toyed around with the setup in Python and it’s totally capable of handling basic todo list functionality.
The annoying thing is simply that to make it work I would need to mess with the Home Assistant CalDAV implementation itself in order to add these kinds of queries.
I am HOPING this is coming. I use the 2do app on my phone but all the “todo’s” just get synced to my caldav on my nextcloud server. Giving me a nice web UI and everything. If i can then get stuff like “House Hold Todo’s” to show up on my HA dashboard that would be amazing!
Im not gonna lie. I am REALLY digging this feature. Since i use nextcloud tasks EXTENSIVELY this is great. Now if the cards to show the todo’s would catch up Some of my lists are LONG and would prefer to be able to select X number. For like my “movies to watch” that is a long list lol.
I am also trying to include the tasks from my nextcloud in my HA, to trigger an event if a tasks was completed.
Did someone manage to integrate that yet? (I understand, that @allenporter and @dydx did manage?)
I tired using CalDAV both via the GUI (did not work at all) and via the manual configuration in the configuration.yaml, where I tried to load the calendars using the custom_calendars option.
A calendar containing only events showed up in the calendar tab, but the events are not shown (?).
A calendar containing only tasks created in Nextcloud tasks did not show up anywhere.
The credentials of the calendars are correct, since I tested them in both Thunderbird and a python script.
I also do not get any errors or warnings in the logs. Are there some keywords I could look for in the logs?