updated holidays to look different

This commit is contained in:
2025-11-28 15:00:18 -05:00
parent 9a77614786
commit f544faf257
2 changed files with 122 additions and 13 deletions

View File

@@ -13,3 +13,43 @@ To connect you calendar you'll need to add the CalDAV integration to your Home A
- For nextcloud users it's something like: `https://[YOUR_NEXTCLOUD_URL].com/remote.php/dav` (you can also find it in the nextcloud calendar settings > Copy pirmary CalDAV address)
- The username and password of the user you want to add the calendar for
## Scripts and Helpers
These are probably the most important part of the whole set up as if you don't have them set, you can't do any of the filtering
For each calendar or person you need to have this script located in `Settings > Automations & scenes > scripts`
```yaml
alias: [CALENDAR_OR_PERSON_NAME] Calendar Visible Filter
description: "Shows or hides events for [CALENDAR_OR_PERSON_NAME] Calendar"
sequence:
- data:
entity_id: input_text.[CALENDAR_OR_PERSON_NAME]_calendar_filter
value: |
{% if is_state('input_text.[CALENDAR_OR_PERSON_NAME]_calendar_filter', '.*') %}
^$
{% else %}
.*
{% endif %}
action: input_text.set_value
```
The Helpers you need to add are as follows:
Text:
“calendar_event_title”
“calendar_event_description”
“birthdays_calendar_filter”
“[CALENDAR_OR_PERSON_NAME]_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”