totaldebug/atomic-calendar-revive

Add the calendar name of each entity

Closed this issue · 6 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If we have several calendars to display in event mode, it is not possible to distinguish them (except by icon)

(I have tried showCalendarName but it seems not working…)

Expected behaviour

Would it be possible to add the following option :

  • display the calendar name of each entity

Thank you in advance for your help

Possible Solutions

Displayd Prior to the event name or below

Mode

Event (default)

Context / Reason

Provide an better readable and understandable event list when we are using calendar event mode with several calendars.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Hello @Veher-el, thank you for your interest in our work!
If this is a bug report, please provide your configuration and any screenshots that would assist troubleshooting, otherwise we can not help you.

Setting showCalendarName: true will show the calendar name at the right side of the card.

I have this setup on my HA and it is working. If you could provide your configuration and a screenshot of what you currently see that would help me troubleshoot

Hello @marksie1988
I have already test it in event mode but nothing is displayed on the right side.

Indeed, if showCalendarName is already implement, may be it is a bug.

image

my configuration :

  • Home Assistant 2023.8.4
  • Supervisor 2023.08.1
  • Operating System 10.5
  • Interface utilisateur : 20230802.1 - latest
  • Atomic Calendar Revive v 7.6.1

I would need the configuration from the card, if you edit the card, click show code editor in the bottom left and paste the yaml on GitHub (feel free to change calendar names to something else if they are sensitive but don't remove them)

It was ambiguous ;)

Find here below my yaml code

- type: custom:atomic-calendar-revive
      name: Calendrier
      template:
        - police
      defaultMode: Event
      showTimeRemaining: false
      showCalendarName: true
      showProgressBar: true
      showRelativeTime: false
      showLocation: false
      showEventIcon: true
      progressBarColor: var(--custom-img-cell-color-blue)
      fullDayEventText: "Today"
      untilText: 'End to'
      dimFinishedEvents: true
      showNoEventsForToday: true
      finishedEventOpacity: 0.6
      finishedEventFilter: 'grayscale(100%)'
      dayWrapperLineColor: grey
      entities:
        - entity: calendar.perso
          eventCalName: XXX
          icon: mdi:human-male
        - entity: calendar.us
          eventCalName: Us
          icon: mdi:human-male-female
        - entity: calendar.family
          eventCalName: Family
          icon: mdi:human-male-female-child
      dateSize: 80
      timeSize: 100

Ok your entity configuration is incorrect, try this:

entities:
        - entity: calendar.perso
          name: XXX
          icon: mdi:human-male
        - entity: calendar.us
          name: Us
          icon: mdi:human-male-female
        - entity: calendar.family
          name: Family
          icon: mdi:human-male-female-child