bokub / rgb-light-card

💡 A Lovelace custom card for RGB lights
MIT License
412 stars 24 forks source link

[Feature Request] Can you add the ability to adjust brightness please? #35

Closed cnmarch6 closed 3 years ago

cnmarch6 commented 3 years ago

[Feature Request] Can you add the ability to adjust brightness please?

peetereczek commented 3 years ago

Just merge with another custom:slider-entity-row card and you will get expected result

image

entities:

  • type: 'custom:slider-entity-row' toggle: true hide_when_off: true entity: light.sonoff_1000ee2034
  • type: 'custom:rgb-light-card' entity: light.sonoff_1000ee2034 hide_when_off: true
bokub commented 3 years ago

Thanks @peetereczek !

If you need another example, here is my configuration:

type: entities
entities:
- type: 'custom:slider-entity-row'
  entity: light.example
  name: LED
  toggle: true
- type: 'custom:rgb-light-card'
  colors:
  - # some color
  entity: light.example

image

If what you wanted was the ability to control brightness using the icons, that's already possible.

cnmarch6 commented 3 years ago

it works thanks all