Coder Social home page Coder Social logo

piotrmachowski / lovelace-google-keep-card Goto Github PK

View Code? Open in Web Editor NEW
53.0 5.0 8.0 77 KB

This is a companion card for Google Keep sensor. It displays notes downloaded by integration in a friendly way, similar to Google Keep app.

License: MIT License

home-assistant lovelace-card

lovelace-google-keep-card's Introduction

Lovelace Google Keep card

hacs_badge Community Forum Ko-Fi buycoffee.to PayPal.Me Revolut.Me

This is a companion card for Google Keep sensor. It displays notes downloaded by integration in a friendly way, similar to Google Keep app.

Example

Configuration options

Key Type Required Default Description
title string False - Desired title of a card
entity string True - ID of Google Keep sensor
theme string False light Theme to be used for notes. Possible values: light, dark, auto
alpha float False 1 Level of transparency used for notes (0 - fully transparent, 1 - not transparent)
show list True - List of sections that should be displayed. Possible values: checked, unchecked
hide_if_empty boolean False false Enables hiding cart when there are no notes found. Possible values: true, false
system_box boolean False false Make each note a HA tile instead of encapsulating them into a HA tile
force_background boolean False false Force the background to white/black according to the theme
small_title_margin boolean False false Reduce the bottom margin of the title

Example usage:

views:
- name: Example
  cards:
    - type: custom:google-keep-card
      entity: sensor.google_keep_12345
      theme: dark
      alpha: 0.7
      show:
        - checked
        - unchecked

Installation

Manual

  1. Download google-keep-card.js to /www/custom_lovelace/google_keep_card directory:
    mkdir -p www/custom_lovelace/google_keep_card
    cd www/custom_lovelace/google_keep_card/
    wget https://github.com/PiotrMachowski/Lovelace-Google-Keep-card/raw/master/dist/google-keep-card.js
  2. Add card to resources:
    resources:
      - url: /local/custom_lovelace/google_keep_card/google-keep-card.js
        type: module

HACS

  1. Find this card in "Frontend" section and install it
  2. Add card to resources:
    resources:
      - url: /hacsfiles/google_keep_card/google-keep-card.js
        type: module

FAQ

  • Does this card allow editing notes?

    No, right now it provides read-only view of notes.

Support

If you want to support my work with a donation you can use one of the following platforms:

Platform Payment methods Link Comment
Ko-fi
  • PayPal
  • Credit card
  • Buy Me a Coffee at ko-fi.com
  • No fees
  • Single or monthly payment
  • buycoffee.to
  • BLIK
  • Bank transfer
  • Postaw mi kawę na buycoffee.to
    PayPal
  • PayPal
  • PayPal Logo
  • No fees
  • Revolut
  • Revolut
  • Credit Card
  • Revolut
  • No fees
  • 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.