Weird, not sure. Applying filters is pretty much immediate in my setup.
I am running on a home assistant green so maybe that is part of the slowdown but after clicking a filter it takes several seconds to reload, the whole calendar goes away and then re appears. I am using outlook calendars instead of google, maybe a config difference?
Ah missed that step in my initial post. You need to add these helpers
Ah, that makes sense. Hereâs an updated list of helpers folks will need to add:
Text:
âcalendar_event_titleâ
âcalendar_event_descriptionâ
âbirthdays_calendar_filterâ
â[PERSON]_calendar_filterâ
Dropdown:
âcalendar_selectâ (add your calendar options)
âcalendar_viewâ (options: Today, Tomorrow, Week, Biweek, Month, Bimonth)
Datetime (Date):
âcalendar_day_event_startâ
âcalendar_day_event_endâ
Datetime (Time)
âcalendar_event_startâ
âcalendar_event_endâ
Toggle:
âcalendar_all_day_eventâ
I havenât tried what OP has posted yet. But if you donât want to use google calendar for kid calendars, I built a way to use Local Calendar integration for kid calendars. It syncs parent calendars to child calendars via a custom component (and creating an automation). Read more at family calendar sync post I made. Cheers!
I just want to thank you again. I have the calendar up and my wife is loving it. I also have hass.agent working to turn off and on the monitor based on motion in the room the screen is in. My next step is task/chore charts for kids. I was looking into creating manual toggle helpers, or maybe looking into grocy. Did you have any helpful scripts or hints on your chore list dashboard? Thanks again.
Can you explain or give insight on how to acheive these steps?
3. Implementing Calendar Filters
Since the Week Planner Card doesnât support hourly views, I implemented filtering via regular expressions (regex). Each entity could display all events (.*
) or no events (^$
).
For each family member, I created an input_text helper ([person]_calendar_filter
) to dynamically control event visibility.
Then for each calendar, we need to create a script to show/hide events based on regex for a calendar:
This is very impressive work⌠in lieu of a formal writeup of chore tracking, would you mind just sharing the code?
Iâll try to get a writeup this weekend. It got complicated pretty fast but its working as we want it
So, to be able to filter the calendars you need to use Regex (which is poweful but confusing and complicated). Pretty much all we are saying with those filters is show ALL items for the personâs calendar or NONE. Nothing in between.
So, just create the input_text helpers with the name [person]_calendar_filter and the automation will take care of the Regex switching it to show all or none every time you click on the button or call the automation
Thanks so much for building this. Iâm getting kind of close but still have a few issues Iâm hoping someone can help me with. I have the same number of names as the example but each name in the calendar header is way bigger than the example so the âAdd Eventâ button goes off the right side. The toggles work, but Add Event doesnât bring up a screen. Is browser mod required for that button to work? I donât have it configured for this device so can if I need to, but I thought a button to show a popup is supported by HA natively.
Also looking forward to details on the chores screen. Thanks again!
Love it. Works great! just Implemented on my family wall dashboard. The only thing I donât like. Is the sync time between homeassistant and google is about 10-15 minutes so it doesnât show instantly.
Has this been thrown onto github yet? No rush of course! Just curious! Great work! I showed it to me wife and she said,âlooks just as good as skylight!â
I love this idea/project. My wife keeps wanting one and I see lots of reviews making it sound like the actual Skylight hardware isnât the best and is quite costly. Not to mention we already have many of the functions is HA already.
Edit: Iâm working with the example code and for some reason card_mod isnât working for the weekly planner card and I have no idea why.