Add ability to set color. Added limited ability to set effect. The only effects that work are: blink, breathe, okay, channel_change. Added hex_to_RGB color

This commit is contained in:
Jim Lancaster
2025-01-12 17:56:14 -06:00
parent 1994ad2c16
commit e7b9bef8c5
4 changed files with 230 additions and 2 deletions

View File

@@ -12,8 +12,6 @@ ManCaveLights:
button1: light.stick_lamp
button2: light.wet_bar
button3: light.monkey_lamp
# button4: light.kitchen_candlelabra
# device: tapdial01
LivingRoomLights:
module: tap_dial
@@ -38,3 +36,31 @@ my_timer:
class: TimerClass
on_time: '18:00:00'
light: light.wet_bar
brightness: 225
color: ff99ff
effect: candle
LightColorTest:
module: color_test
class: TapDial
entity: sensor.tapdial03_action
init_brightness: 200
max_brightness: 254
step_size: 25
color1: FF0018
color2: ff99ff
color3: 008018
color4: 0000F9
brightness1: 100
brightness2: 150
brightness3: 200
brightness4: 254
effect1: candle
effect2: finish_effect
effect3: okay
effect4: channel_change
button1: light.wet_bar
button2: light.wet_bar
button3: light.wet_bar
button4: light.wet_bar