I’m bumping the above post to see if anyone has any suggestions.
I’d like to keep current but this issue is preventing me upgrading to the latest.
I’m bumping the above post to see if anyone has any suggestions.
I’d like to keep current but this issue is preventing me upgrading to the latest.
V7 changes the way multi day events are shown to work a little better. I would always recommend reading change notes when upgrading a major version as it usually lists the changes.
You should now add the option showMultiDay
and showMultiDayEventParts
I tried that and it didn’t seem to work.
I added the "showMultiDay: true to both the main config and to the entity configs. Those entries are in my code post above.
I did add “showMultiDayEventParts” to the main config section as well but I can’t get it to show the individual parts.
here is the latest config I tried:
- type: "custom:atomic-calendar-revive"
name: "My Work Calendar"
defaultMode: Calendar
firstDayOfWeek: 7
showLoader: false
showMultiDay: true
showMultiDayEventParts: true
entities:
- entity: calendar.my_cal_gmail_com
type: icon
icon: mdi:weather-sunny
color: green
allowlist: days
showMultiDay: true
- entity: calendar.my_cal_gmail_com
type: icon
icon: mdi:weather-night
color: red
allowlist: nights
showMultiDay: true
- entity: calendar.my_cal_gmail_com
type: icon
icon: mdi:star
color: orange
allowlist: DD
showMultiDay: true
The result is still similar to the second pic above and only shows the current day/days and doesn’t show the rest of the results for the month as it did in the first pic.
I’m sorry if I’m being dense again but any hint would be very appreciated. I’m sure I’m missing something but I just can’t see it.
Ok so you shouldn’t need it under each entity, just under the main config.
If you change to event mode does it work then? If so then you have found a bug with calendar mode which I’ll have to look into.
yes it does seem to work in event mode.
here is the config:
- type: "custom:atomic-calendar-revive"
name: "My Work Calendar"
#defaultMode: Calendar
maxDaysToShow: 21
showLoader: false
showMultiDay: true
showMultiDayEventParts: true
entities:
- entity: calendar.my_cal_gmail_com
type: icon
icon: mdi:weather-sunny
color: green
allowlist: days
- entity: calendar.my_cal_gmail_com
type: icon
icon: mdi:weather-night
color: red
allowlist: nights
- entity: calendar.my_cal_gmail_com
type: icon
icon: mdi:star
color: orange
allowlist: DD
and the result which looks correct:
In Event view, is there anyway to remove the date column on the left hand side?
I have view set to only show today, i.e:
maxDaysToShow: 1
and therefore I don’t need to show the date column, and would prefer to free that space up.
Hope that makes sense!
Is there anyway to set a background image? Specifically in event view.
I would like to create an image similar to the mdi:calendar-month, and make it look like a watermark on the card… happy to create the image with the correct colours/effects etc. But just wondering if there is a way to set a background image?
Thanks!
UPDATE:
For info of anyone else trying to do the same, I managed to do this by using card-mod
to set the background of the card.
card_mod:
style: |
ha-card {
background-repeat: no-repeat;
background-image: url("/local/images/calendar.png");
background-size: 100% 100%;
}
Hello everyone! I have a situation where my wife works in shifts (and those change every three weeks), and my son also goes to kindergarten in different times based on my wifes schedule. Until now I have written them down on paper so we can check at what time our son should be there tomorrow for example.
So, I thought if I could get rid of this paper system finally and looked into it, and found this Atomic Calendar Revive, and managed to integrate it with Google calendar. However, I am not sure what would be the best way to write down those work shifts and “daycare shifts” so I could for example easily glance my calendar card and see that “okay, next week my wife has a day off on Wednesday and same goes for my son, but tomorrow seems like I will take him to daycare at 7:45 and my wife fetches him at 15:00”.
The ultimate goal would also be that I could use Google Assistant for example, or Alexa (I have both integrated to Home Assistant) and just ask “Hey Google, tell me my wife’s work hours tomorrow” etc.
Or is these kind of “work shift lists / daycare shift lists” even possible with Atomic Calendar Revive?
Maybe this gives a hint: My wife and me working sometimes in Home Office and sometimes somewhere else. We have an entry in google Calendar like “Yvonne Home Office”.
Then I created a calendar like this:
- device_id: gmail_ys_home_office
ignore_availability: true
name: [email protected]
track: true
search: "#Yvonne Home Office"
max_results: 10
in dependency of this entity, which is on or off, I reduce heating in bathroom, have different start times etc.
It should be possible to read out this calendar and express it to alexa or send notifications to your mobiles
So you check if your wife is at home or at workplace and do something (reduce heating etc) based on that? All right, for me I would like to have a calendar page that tells me something like this:
Monday
wife: 7:00-15:00
son: 7:45-15:30
Tuesday
wife: 12:30-20:00
son: 10:45-16:15
me: some happening between 10:00-12:00
Wednesday
wife: at home
son: at home
Basically now I have a printed excel sheet where I write these down on paper, but would be great if I could bring this information somehow to Home Assistant. Of course I would have to write them down somewhere at first anyway but not sure what would be the best way…
Yes, I found that myself too, but apparently that is for viewing only, meaning that I cannot write down things right there through UI. And seems like I cannot just add notes for specific day in Google Calendar withouth issuing a start and end times.
But I guess I need to study Google Calendar a bit. I tried adding my wifes work times for tomorrow, and my sons kindergarten times as well, and it looks more or less okay in Home Assistant now, although it didn’t sync my entries until I pushed that refresh button on HA Calendar. And even still Atomic Calendar Revive card only shows todays happenings, and not those two I saved a while ago.
EDIT: I think Atomic Calendar only sees my private calendar, and I should add entity for my family calendar where I added those two other entries. Would be easier if “Required” option in card settings would actually open something, as that is the only option that does not open for me for some reason. I even added my own calendar by using YAML mode because I couldn’t just choose it
Here we have two google calendars. Each of us has an own google account.
My wife shares her calendar with me on google.
I added my account to HA.
Using Atomic ACC.
final result:
Pink is her, Violet is me…
Looks great! And something that would work for me as well.
Now if I only managed to make my wife add her work shifts to her iPhone calendar, I guess I could import that to Atomic as well. Too bad she hates technology But at least I can write them down myself as well.
Mine hated it too, when we met. I made her love it in the first two years together. Don’t ask me how, it just worked. Not pushing, just explaining and showing the benefits for the family…
I started with the shopping list. When I went to the shop, I always bought the things on the list. She loved that immediately.
Then I added my mobile phone tracker to the map. She now can always see, where I’m. Wife’s love that kind of info
And now, 4 years later, she completely cooperates. She even bought a Garmin watch and love’s it too. Shutting the bedroom light off out of bed without needing to stand up is her favorite
But still, any time she ask’s: Can HA do this? I never say no, I always try to find a way to make her wish happen. And so I got the credit to do some crazy shit as I want too…
Topping from the bottom, that works
Hi everyone,
New to home assistant, and im stuck with atomic revive on lovelace.
I added our caldav calendar to HA as an entity, works fine with standard lovelace card. But love the looks of atomic revive. downloaded and installed through hacs. cleared browser cache and rebooted HA. Card shows up, but then i get the following error:
the button ‘reqired’ doesnt work, all others do.
What am i doing wrong? anyone?
The best way to configure this card is using YAML.
Click on the SHOW CODE EDITOR link and go on from there, using the documentation of the card
Thanks for the quick reply, but still extremely stuck, i know, a real noob. tried to add lines in the yaml, but i cant find in the documentation what i need to do or doing wrong…:
an example of my code:
type: custom:atomic-calendar-revive
entities:
- entity: calendar.mischa
titleColor: purple
icon: mdi:home-heart
color: purple
- entity: calendar.isa
titleColor: violet
icon: mdi:hospital
color: violet
- entity: calendar.feestdagen_in_nederland
titleColor: orange
icon: mdi:cheese
color: orange
- entity: calendar.feestdagen_in_tsjechie
titleColor: cyan
icon: mdi:glass-mug-variant
color: cyan
- entity: calendar.islamitische_feestdagen
titleColor: white
icon: mdi:mosque
color: white
- entity: calendar.feestdagen_in_suriname
titleColor: goldenrod
icon: mdi:emoticon-cool-outline
color: goldenrod
enableModeChange: true
firstDayOfWeek: 1
maxDaysToShow: 14
refreshInterval: 180
name: Aankomende dagen
showDeclined: true
sortByStartTime: true
noEventText: Er zijn geen afspraken vandaag
showWeekDay: true
showNoEventsForToday: true
showFullDayProgress: true
showEventIcon: true
hoursFormat: HH:mm
showDate: false
untilText: tot
fullDayEventText: hele dag
noEventsForNextDaysText: Er zijn geen afspraken aankomende dagen
hiddenEventText: verborgen
showHiddenText: true
result: