Code Monkey home page Code Monkey logo

light-entity-card's Introduction

Light Entity Card

Control any light/switch entity through lovelace

Support

For help, visit the light entity support thread here

GitHub Release License Project Maintenance hacs_badge

Features


  • Works on any light and switch based entity
  • Toggle on/off
  • HS Color wheel
  • Color temperature and white value support
  • Support for configured language
  • Compact card support for grouped entities
  • use persist_features: true to always show entity features
  • use effects_list to add custom effects list or use input_select entity
  • always show or hide header and each input

Installation


Add through HACS

Issues with the installation should be asked in the Home Asssitant forums

Configurations:


type: custom:light-entity-card
entity: light.downstairs
type: custom:light-entity-card
entity: light.downstairs
effects_list:
  - effect1
  - effect2
type: custom:light-entity-card
entity: light.downstairs
effects_list: input_select.custom_effect_list
type: custom:light-entity-card
entity: light.downstairs
group: true

Options:


Name Type Requirement Default value Description
type string Required custom:light-entity-card
entity string Required The entity name of the light entity to control
shorten_cards boolean Optional false show a compact version of the card
consolidate_entities boolean Optional false if entity is a group you can consolidate all entities into one
persist_features boolean Optional false always show entity features
effects_list list/string/boolean Optional custom list of effects, an input_select entity, or set false to always hide
header string Optional custom header name
hide_header boolean Optional false hides the entity header of the card including toggle
brightness boolean Optional true show brightness slider if available
color_temp boolean Optional true show color temp slider if available
white_value boolean Optional true show white value slider if available
color_picker boolean Optional true show color picker wheel if available
full_width_sliders boolean Optional false makes slider the full width of card
brightness_icon string Optional weather-sunny change the brightness slider icon
white_icon string Optional file-word-box change the white slider icon
temperature_icon string Optional thermometer change the temperature slider icon
show_slider_percent boolean Optional false show percent next to sliders
smooth_color_wheel boolean Optional false smooth out color wheel for more colors
child_card boolean Optional false remove padding/margin to make this card within another card

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

coffee

light-entity-card's People

Contributors

ljmerza avatar regevbr avatar davide125 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.