Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add calendar card #1207

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

brunosabot
Copy link
Contributor

@brunosabot brunosabot commented Feb 2, 2025

Proposed change

Add a new Calendar Card for Bubble Card

Warning

This PR is based on #1173. Do not merge before it's closed.

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example configuration

type: custom:bubble-card
card_type: calendar
entities:
  - entity: calendar.xxx
    color: orange
  - entity: calendar.yyy
    color: red
  - entity: calendar.zzz
    color: "#93B5A4"
rows: 4
sub_button: []
card_layout: large
limit: 8
showEnd: true
showProgress: true

Example printscreens/gif

Screenshot 2025-02-02 at 17 47 18

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Additional documentation needed.

The calendar card has few features:

  • Allow multiple calendars with their own color chip for differentiate them
  • Limit the calendar to a specific amount of events
  • Show the end time for non-daily events
  • Show the current progression of the event.

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests screenshots/gifs have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

  • Documentation added/updated for readme.

@brunosabot brunosabot mentioned this pull request Feb 2, 2025
8 tasks
@brunosabot brunosabot force-pushed the feat/add-calendar-card branch 2 times, most recently from 0c0e17d to cd72d6a Compare February 7, 2025 12:52
@brunosabot brunosabot force-pushed the feat/add-calendar-card branch 5 times, most recently from d12b416 to 8409d9d Compare February 14, 2025 18:01
@brunosabot brunosabot force-pushed the feat/add-calendar-card branch from 8409d9d to 034e2da Compare February 14, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant