Skip to content

custom-cards/light-entity-row

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Light Entity Row

Usage

For use in an entites card. You can specify an array of extra buttons to add with an name and service_data to send to light.turn_on for the supplied entity. If not supplied, only the temperature buttons show up.

- type: entities
  title: Lights
  entities:
    - type: "custom:light-entity-row"
      entity: light.lamp
      icon: mdi:lamp  # optional
      name: Lamp      # optional
    - type: "custom:light-entity-row"
      entity: light.color_lamp
      showColorPicker: true # shows color picker if supported
      showColorSliders: true # shows hue/saturation sliders if supported
    - type: "custom:light-entity-row"
      entity: light.lamp_with_buttons
      buttons:        # optional
        - name: Red
          service_data:
            color_name: red
        - name: Blue
          service_data:
            color_name: blue

About

Entity row for lights with sliders for adjusting different values based on features

Resources

Stars

Watchers

Forks

Packages

No packages published