I got it working but maybe not perfect since we don’t use it
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