💡 Lovelace: RGB light card

Hi there,
I am trying to mimic the hue app using this card.
Is there a way to add color names?

thank you very much for your help

Hi,
I’m using the condional light card from SeLLeRoNe.
When the light is on, the switch does not toggle to on, I wonder is there a way that the switch shows the current state? Any help would be appreciate.
Thanks.

screen

          - type: conditional
            conditions:
              - entity: light.living_room
                state: 'off'
            card:
              type: entities
              show_header_toggle: false
              entities:
                - type: 'custom:slider-entity-row'
                  entity: light.living_room
                  name: Living room
                  toggle: true
          - type: conditional
            conditions:
              - entity: light.living_room
                state: 'on'
            card:
              type: entities
              toggle: false
              entities:
                - type: 'custom:slider-entity-row'
                  entity: light.living_room
                  name: Living room
                  toggle: false
                - type: 'custom:rgb-light-card'
                  entity: light.living_room
                  colors:
                    - rgb_color:
                        - 255
                        - 255
                        - 255
                      icon_color: '#FFFFFF'
                    - rgb_color:
                        - 255
                        - 0
                        - 0
                      icon_color: '#ff0000'
                    - rgb_color:
                        - 51
                        - 102
                        - 204
                      icon_color: '#3366CC'
                    - rgb_color:
                        - 51
                        - 204
                        - 51
                      icon_color: '#33CC33'
                    - rgb_color:
                        - 0
                        - 255
                        - 255
                      icon_color: '#00ffff'

Just add toggle: true to the slider-entity-row card so you’ll have a toggle on the right.

And you don’t need to use the conditional card anymore, I’ve added the hide_when_off option so it’s much easier.

For example, I use this configuration on my Home assistant, and this it the result:

image
image

Perfect @bokub, I should have read the docs…
Thanks for you quick reply.

@bokub It seems you can’t install it from the HACS anymore? I can’t find it…

edit: ignore that, I’m blind! :slight_smile:

1 Like

When using a service call instead of the default “lights.turn_on” - is it possible to get the selected rgb-color to be sent as a parameter in the service call?

That along with a little html5 color picker as a “color” would make way for some really fun stuff…

I cannot find it either

Version 1.7.1 is out! :tada:

As requested by some users, you can now add labels below your colors

As usual, check out the docs for more information:

1 Like

I’m new to this, I use this card with pleasure. But is it also possible to use it on a group.lights with brightness adjustment???

Yes, I have the bulbs in my ceiling fan grouped together and control them all with single inputs.

Desktop 2020.10.24 - 10.51.19.06_1

How to set this up?

Hi @bokub, any suggestion why there is different toggle for one of lights?
mi_light_toggle

Entity is same like for other light.

it seems it is not a member of light domain. Isn’t it a switch?

Nope, as mentioned this is light entity:

  - entity: light.sypialnia_led
    icon: 'mdi:lightbulb'
    name: Górne światło w salonie
    toggle: true
    type: 'custom:slider-entity-row'

It is a MiLight LED strip:

light:
  - platform: limitlessled
    bridges:
      - host: 192.168.1.104
        groups:
        - number: 2
          type: rgbw
          name: Sypialnia LED

Hello @ontdamian, you’re asking questions about the slider-entity-row card on a topic dedicated to the rgb-light-card…

I can only help you about this part:
image

For anything else, please ask your question on a dedicated topic or create a new issue on the slider-entity-row GitHub repo

Thanks :+1:

Oh, my bad… :sweat_smile:

Anyway thanks for great job!

I know this isnt the right thread but milight doesn’t show it’s state to other software like home assistant so if you turn it on or off in the app, home assistant doesn’t reflect that change so it shows the 2 buttons so it can be easy controlled with a single button press.

You can change it by setting assumed state to false in customize, check the integration page for limitlessled

1 Like

That was a reason :slight_smile: Thank you for hint!

It can fully sync with any number of controllers (including handheld/wall mounted remotes, Home Assistant, iOS/Android App), however you need a third party controller GitHub - sidoh/esp8266_milight_hub: Replacement for a Milight/LimitlessLED hub hosted on an ESP8266

Although it involves a little work (but hardly any soldering), you’re not limited to the official hub of 4 groups and can emulate the entire house with a single controller. Also, Limitless component in HA gets broken with every update, so this is another reason to switch.

I agree that the custom controller is potentially better than the official one, haven’t got round to doing one myself.

I’ve been using milight for well over a year now and never once had any issue with any updates, always works straight away first time.