Mám led pás s RGBW
spolu s ďialkovým chcem poslať po stalčení tlačidla white aby sa zapla iba biela led.
v loogu ale píše nasledovné:
Kód: Vybrat vše
[06:30:34][W][light:139]: 'Light RGBWW' - This light does not support color mode RGBW!
[06:30:34][W][light:410]: 'Light RGBWW' - No color mode suitable for this call supported, defaulting to RGB!
[06:30:34][W][light:185]: 'Light RGBWW' - This color mode does not support setting white value!
Kód: Vybrat vše
#-------------------------------------------
# LIGHTS
#-------------------------------------------
light:
#-------------------------------------------
# Led -Strip RGBWW
#-------------------------------------------
- platform: rgbw
name: Light RGBWW
id: ${device_name}
red: red_channel
green: green_channel
blue: blue_channel
white: white_channel
color_interlock: true
#-------------------------------------------
# OUTPUTS
#-------------------------------------------
output:
#-------------------------------------------
# Led - RGBW
#-------------------------------------------
- platform: ledc
id: red_channel
pin: ${red_pin}
- platform: ledc
id: green_channel
pin: ${green_pin}
- platform: ledc
id: blue_channel
pin: ${blue_pin}
- platform: ledc
id: white_channel
pin: ${white_pin}
#-------------------------------------------
# BINARY SENSORS
#-------------------------------------------
binary_sensor:
# White channal
- platform: remote_receiver
name: "Remote WHITE"
nec:
address: 0xEF00
command: 0xF807
on_press:
then:
- light.turn_on:
color_mode: RGB_white
id: ${device_name}
brightness: 100%
white: 100%
red: 0%
green: 0%
blue: 0%
effect: None
Ďakujem