Light Entity Card

I got it working but maybe not perfect since we don’t use it :wink:

Lovelace:

title: Albin
views:
  - badges: []
    cards:
      - shorten_cards: false
        consolidate_entities: false
        child_card: false
        hide_header: false
        header: ''
        color_wheel: true
        persist_features: false
        brightness: true
        color_temp: true
        white_value: true
        color_picker: true
        speed: false
        intensity: true
        force_features: false
        show_slider_percent: false
        full_width_sliders: true
        brightness_icon: weather-sunny
        white_icon: file-word-box
        temperature_icon: thermometer
        speed_icon: speedometer
        intensity_icon: transit-connection-horizontal
        smooth_color_wheel: false
        type: custom:light-entity-card
        entity: light.albin_rgbw
        effects_list: true
      - type: entities
        entities:
          - entity: input_select.albin_rgbw
        title: Ljuseffekt
        state_color: false
      - type: entities
        entities:
          - entity: sensor.albin_rgbw_electric_consumption_w
          - entity: switch.double_relay_switch_2x1_5kw_3
          - entity: switch.double_relay_switch_2x1_5kw_2_2
    path: albin
    title: Albin

configuration.yaml

input_select: !include input_select.yaml

input_select.yaml

albin_rgbw:
  name: Effect
  options:
    - None
    - Fireplace
    - Storm
    - Rainbow
    - Aurora
    - LAPD
  initial: None
  icon: mdi:flash-circle

automation.yaml

#################################################################
## Albins RGBW Controller Effekter
##
## 1 = Off
## 6 = Fireplace
## 7 = Storm
## 8 = Rainbow
## 9 = Aurora
## 10 = LAPD
#################################################################
- alias: RGBW Effect Off
  trigger:
    platform: state
    entity_id: input_select.albin_rgbw
    to: "None"
  action:
    service: zwave_js.set_config_parameter
    target:
      entity_id: light.albin_rgbw
    data:
      parameter: 157
      value: 0

- alias: RGBW Fireplace
  trigger:
    platform: state
    entity_id: input_select.albin_rgbw
    to: "Fireplace"
  action:
    service: zwave_js.set_config_parameter
    target:
      entity_id: light.albin_rgbw
    data:
      parameter: 157
      value: 6

- alias: RGBW Storm
  trigger:
    platform: state
    entity_id: input_select.albin_rgbw
    to: "Storm"
  action:
    service: zwave_js.set_config_parameter
    target:
      entity_id: light.albin_rgbw
    data:
      parameter: 157
      value: 7

- alias: RGBW Rainbow
  trigger:
    platform: state
    entity_id: input_select.albin_rgbw
    to: "Rainbow"
  action:
    service: zwave_js.set_config_parameter
    target:
      entity_id: light.albin_rgbw
    data:
      parameter: 157
      value: 8

- alias: RGBW Aurora
  trigger:
    platform: state
    entity_id: input_select.albin_rgbw
    to: "Aurora"
  action:
    service: zwave_js.set_config_parameter
    target:
      entity_id: light.albin_rgbw
    data:
      parameter: 157
      value: 9

- alias: RGBW LAPD
  trigger:
    platform: state
    entity_id: input_select.albin_rgbw
    to: "LAPD"
  action:
    service: zwave_js.set_config_parameter
    target:
      entity_id: light.albin_rgbw
    data:
      parameter: 157
      value: 10

## Main Switch
- alias: Albins Main Switch ON
  trigger:
  - entity_id: switch.double_relay_switch_2x1_5kw_2_2
    from: 'off'
    platform: state
    to: 'on'
  condition: []
  action:
  - service: light.turn_on
    entity_id: light.albin_rgbw
    data:
      entity_id: light.albin_rgbw
      #rgb_color: [255,255,255]
      #white_value: 255
      brightness: 80

- alias: Albins Main Switch OFF
  trigger:
  - entity_id: switch.double_relay_switch_2x1_5kw_2_2
    from: 'on'
    platform: state
    to: 'off'
  condition: []
  action:
  - service: light.turn_off
    entity_id: light.albin_rgbw

- alias: Albins Main Switch RESET
  trigger:
  - entity_id: switch.double_relay_switch_2x1_5kw_3
    platform: state
    to:
  condition: []
  action:
  - service: light.turn_on
    data:
      entity_id: light.albin_rgbw
      rgbw_color: [0,0,0,255]
      #white: 255
      brightness: 80

Same problem here - no Color Wheel for any light in Hassio. Light Entity Card version is the latest.
Any solutions?

When i download the card (latest version) via hacs its registered with a null js file:
Object { namespace: “/hacsfiles/light-entity-card”, url: “/hacsfiles/light-entity-card/null?hacstag=168744428612”, exsisting: undefined }

replace by

/hacsfiles/light-entity-card/light-entity-card.js?hacstag=168744428612

For some unknown reason the card suddenly stopped working. Had it installed and working for months, today it just showed “Custom element doesn’t exist : light-entity-card”

Latest version of card 6.1.2, latest version of HA. Anyone seeing the same thing?

Same for me, i change the path in resource :

/hacsfiles/light-entity-card/light-entity-card.js?hacstag=168744428612

I’ve the same issue. Can you provide slightly more pointers to exactly which file needs modification of the content ? Thx!

In edit dashboard
image

1 Like

Thanks so much for the help!

This seems a recurrent issue since version 6.1.1 for me. At that time, I removed the latest version and installed version 6.1.0 to make it work, and then removed 6.1.0 and installed again 6.1.1 successfully. Just the re-installation was not enough to make it work.
Now the update from 6.1.1 to 6.1.2 results in the same issue. Something must be wrong with the update/installation.

Thanks, this worked for me!
It now only says “1 lovelace element not loaded correctly” in HACS.
But it works fine.
image

image

Hello everyone and happy new year!
I have a problem, I can control my light with all the colors but when I try to set the white level the system gives me an error: extra keys not allowed @ data['white_value']

I’ve switched back to 6.1.0 which seem to be working fine.

It gives me the error even with version 6.1.0

Hi guys,
Beside this issue, which is solved by the latest update, I have an other problem.

I use HA Companion App in iOS on my phone.
I had the HACS window with this card open but I am unable to close the window anymore…
Using the usual Left-arrow in the top bar does not function anymore…

Stopping the app and restarting does not help.
Neither does rebooting the iPhone …

Anyone else ever seen this issue?

Any insight on this… still no color wheel on tasmota-based RGB-lights. Or any other similar color-wheel card out there?