bokub / rgb-light-card

💡 A Home Assistant card for RGB lights
MIT License
441 stars 24 forks source link

Should it work with eWeLight ZB-CL02? #66

Closed and7ey closed 2 years ago

and7ey commented 2 years ago

Here is Exposes tab from Zigbee2mqtt:

Снимок экрана 2022-09-11 в 22 54 29

but when I uses your example, it doesn't change the light color and brightness.

bokub commented 2 years ago

I have no idea what you're talking about. How am I supposed to help you if you don't even give an example of what you tried to do so far?

and7ey commented 2 years ago

I've taken your example:

type: entities
show_header_toggle: false
entities:
    # Card configuration starts here
    - type: 'custom:rgb-light-card'
      entity: light.0x123455 # here is my id
      colors:
          # Any option of the light.turn_on service can be used in each color
          - rgb_color:
                - 255
                - 127
                - 255
            brightness: 220
            transition: 1
          - hs_color:
                - 60
                - 30
            icon_color: '#fff8b0' # Override icon color

but it doesn't work with my light (the details of the light are given below) - when I press the color button, nothing happens.

bokub commented 2 years ago

The card configuration seems to be correct.

Can you turn on your light in the developer tools > services page, using the light.turn_on service ?

and7ey commented 2 years ago

light.turn_on works ok.

Upd. Sorry, everything is ok. Yellow is the wrong color for the testing - it just wasn't visible in my case.

bokub commented 2 years ago

No problem. Have a good day