Entity row for lights with sliders for adjusting different values based on features
Branch: master
Clone or download
Latest commit d08721a Oct 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md add color pickers Oct 4, 2018
VERSION button spacing Oct 11, 2018
light-entity-row.js button spacing Oct 11, 2018

README.md

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