Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Oct 11, 2018

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