light-entity-row
light-entity-row copied to clipboard
Entity row for lights with sliders for adjusting different values based on features
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