Git Product home page Git Product logo

calendar-card's Introduction

Calendar Card for Home Assistant

Show Google calendar events

GitHub Release License

Project Maintenance GitHub Activity

Features


  • Show the next 5 events on your Google Calendar (default set by home assistant)
  • Set custom time and date format for each event
  • Click on event to open in your Google calendar app
  • Integrate multiple calendars
  • Update notifications via custom_updater
  • Click on event location to open maps app
  • Language support
  • Progress bar for ongoing events
  • Split multiday events

Prerequisites


You should have setup Google calendar integration or Caldav integration in HomeAssistant.

Installation through HACS


Add the following to resources in your lovelace config:

resources:
  - url: /community_plugin/calendar-card/calendar-card.js
    type: js

Options


Name Type Requirement Description
type string Required custom:calendar-card
title string Optional Calendar Header shown at top of card
hideHeader boolean Optional false Hide the header regardless of value
numberOfDays number Optional 7 Number of days to display from calendars
entities object Required List of calendars to display
timeFormat string Optional HH:mm Format to show event time (see here for options)
dateTopFormat string Optional DD Format for top line of event date
dateBottomFormat string Optional ddd Format to bottom line of event date
ignoreEventsExpression string Optional `` Simple case insensitive regex to ignore events that match title
progressBar boolean Optional false Adds progress bar to ongoing events
hideTime boolean Optional false Hides event time section entirely
showLocation boolean Optional false Shows location address
showLocationIcon boolean Optional true Shows map icon when event has a location
showMultiDay boolean Optional false Split multiday events into per day
startFromToday boolean Optional false Skip any events before today's date
showEventOrigin boolean Optional false Shows what calendar each event is from
highlightToday boolean Optional false Hightlight's today's events

Configurations


type: custom:calendar-card
title: "My Calendar"
progressBar: true
entities:
  - calendar.ljmerzagmailcom

You want more than 5 Google events?

Open the google_calendars.yaml file and and max_results: 20 for each calendar items you want more events for. See documentation at Home Assistant


Enjoy my card? Help me out for a couple of ๐Ÿป or a โ˜•!

coffee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.