Giter VIP home page Giter VIP logo

color-entity-row's Introduction

color-entity-row

This is a repo with Home Assistant custom ui card color-entity-row.

This card is used inside entities. It shows input_text value as a color and make it possible to change the value.

Installation

There are several ways, you can add this card to your Home Assistant.

Manual installation

Installation with HACS

If you use HACS, you can install this card with HACS (but HACS is not required, if you don't use HACS you can install this card using the steps described in the previous section)

To install this card with HACS just use the standart HACS way to install cards from the custom GitHub repository.

Configuration

When you have this card installed in your Home Assistant you can use it. Add to your lovelace ui:

      - type: custom:color-entity-row
        entity: input_text.c1
        name: Text 1
        icon: mdi:text-box

The field entity is required, name and icon are optional.

This card can work only with entities that are in domain input_text.

This card must be part of entities card. Here a full example:

title: Home
views:
  - path: default_view
    title: Home
    badges: null
    cards:
      - type: entities
        entities:
          - input_text.c1
          - input_text.c2

          - type: custom:color-entity-row
            entity: input_text.c1
            name: Text 1
            icon: mdi:text-box

          - type: custom:color-entity-row
            entity: input_text.c1
            name: Text 2
            icon: mdi:text-box-outline

          - type: custom:color-entity-row
            entity: input_text.c2

color-entity-row's People

Contributors

bessarabov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

color-entity-row's Issues

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.