GithubHelp home page GithubHelp logo

f1-calendar-card's Introduction

F1-Calendar-Card

A card for upcoming F1 events - Featuring support for Sprint Race weeks and normal race weeks


INSTALLATION

To get this card working there's a couple of components you need.


ORDER OF INSTALLING

To minimize errors in your log file install the components in the following order

  • Google Calendar Integration
  • Add F1 calendar to HA (use the entry in the google_calendar.yaml file)
  • Add template sensors to your config
  • Install Template Entity Row & Text Divider Row
  • Add card.yaml to dashboard
  • Enjoy!

WHERE TO PLACE TEMPLATE SENSORS

The card relies highly on the template sensors created in step 3 of the installation. People who use !include statements in their configuration.yaml file will be able to paste this directly inside their yaml file, or download the template_sensor.yaml file to their template sensor folder (If you want to learn more about this: https://www.home-assistant.io/docs/configuration/splitting_configuration/)

For people who want to put this inside the configuration.yaml file you need to do the following.

  • Add template sensor entry to the config file:
template:
  - sensor:
  • Copy the content inside template_sensor.yaml file and paste under the '- sensor:' entry
  • Select all of the code you just copied and hit tab to indent the code under the '- sensor:' entry (works if you use the file editor addon, and also if you use the VSCode addon)
  • Check config and reload template entities.

LANGUAGE

Want to use the card in a diffrect language? The following adjustments have to be made

  • Change the days and months in the template sensor
  • Change the text in the card

And you're done


EXAMPLE

alt text


BUGS OR FEATURE REQUESTS

It will probably happen that you run into some bugs. Please raise an issue for those, so I can get the card as perfect as possible. The same goes for feature requests. You can always add the and if/when I find the time and answer I will implement it!

f1-calendar-card's People

Contributors

davidrustingha avatar

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.