Merge pull request #115 from MorghusDragon/correctly-looping-rainbow-effect
Fix rainbow effect loop by setting correct width per model.
This commit is contained in:
@@ -55,7 +55,7 @@ light:
|
|||||||
variant: WS2811
|
variant: WS2811
|
||||||
|
|
||||||
# Those lights are available based on the model selections
|
# Those lights are available based on the model selections
|
||||||
- &light_partition_with_effects
|
- &light_partition_with_effects_eu
|
||||||
id: light_eu
|
id: light_eu
|
||||||
name: Light EU
|
name: Light EU
|
||||||
platform: partition
|
platform: partition
|
||||||
@@ -65,8 +65,10 @@ light:
|
|||||||
effects:
|
effects:
|
||||||
- addressable_rainbow:
|
- addressable_rainbow:
|
||||||
name: "Rainbow"
|
name: "Rainbow"
|
||||||
|
width: 28
|
||||||
- addressable_rainbow:
|
- addressable_rainbow:
|
||||||
name: "Rainbow - Fast"
|
name: "Rainbow - Fast"
|
||||||
|
width: 28
|
||||||
speed: 50
|
speed: 50
|
||||||
- pulse:
|
- pulse:
|
||||||
name: "Pulse"
|
name: "Pulse"
|
||||||
@@ -105,19 +107,66 @@ light:
|
|||||||
from: 0
|
from: 0
|
||||||
to: 27
|
to: 27
|
||||||
|
|
||||||
- id: light_us
|
- &light_partition_with_effects_us
|
||||||
|
id: light_us
|
||||||
name: Light US
|
name: Light US
|
||||||
<<: *light_partition_with_effects
|
platform: partition
|
||||||
|
default_transition_length: ${default_transition_length}
|
||||||
|
internal: true
|
||||||
|
restore_mode: ${LIGHT_SIDES_RESTORE_MODE}
|
||||||
|
effects:
|
||||||
|
- addressable_rainbow:
|
||||||
|
name: "Rainbow"
|
||||||
|
width: 32
|
||||||
|
- addressable_rainbow:
|
||||||
|
name: "Rainbow - Fast"
|
||||||
|
width: 32
|
||||||
|
speed: 50
|
||||||
|
- pulse:
|
||||||
|
name: "Pulse"
|
||||||
|
transition_length: 1s
|
||||||
|
update_interval: 1s
|
||||||
|
- pulse:
|
||||||
|
name: "Pulse - Slow"
|
||||||
|
transition_length: 2s
|
||||||
|
update_interval: 2s
|
||||||
|
- addressable_scan:
|
||||||
|
name: "Scan"
|
||||||
|
move_interval: 100ms
|
||||||
|
scan_width: 3
|
||||||
|
- addressable_twinkle:
|
||||||
|
name: "Twinkle"
|
||||||
|
twinkle_probability: 5%
|
||||||
|
progress_interval: 4ms
|
||||||
|
- addressable_random_twinkle:
|
||||||
|
name: "Random Twinkle"
|
||||||
|
twinkle_probability: 20%
|
||||||
|
progress_interval: 32ms
|
||||||
|
- addressable_fireworks:
|
||||||
|
name: "Fireworks"
|
||||||
|
update_interval: 32ms
|
||||||
|
spark_probability: 10%
|
||||||
|
use_random_color: false
|
||||||
|
fade_out_rate: 120
|
||||||
|
- addressable_flicker:
|
||||||
|
name: "Flicker"
|
||||||
|
update_interval: 16ms
|
||||||
|
intensity: 5%
|
||||||
|
- random:
|
||||||
|
name: "Random"
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 0
|
from: 0
|
||||||
to: 31
|
to: 31
|
||||||
|
|
||||||
- &light_partition_with_effects_disabled
|
- &light_partition_no_effects_disabled
|
||||||
id: light_eu_bottom
|
id: light_eu_bottom
|
||||||
name: Light - Bottom EU
|
name: Light - Bottom EU
|
||||||
|
platform: partition
|
||||||
disabled_by_default: true
|
disabled_by_default: true
|
||||||
<<: *light_partition_with_effects
|
default_transition_length: ${default_transition_length}
|
||||||
|
restore_mode: ${LIGHT_SIDES_RESTORE_MODE}
|
||||||
|
internal: true
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 6
|
from: 6
|
||||||
@@ -125,7 +174,7 @@ light:
|
|||||||
reversed: true
|
reversed: true
|
||||||
- id: light_eu_left
|
- id: light_eu_left
|
||||||
name: Light - Left EU
|
name: Light - Left EU
|
||||||
<<: *light_partition_with_effects_disabled
|
<<: *light_partition_no_effects_disabled
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 13
|
from: 13
|
||||||
@@ -133,7 +182,7 @@ light:
|
|||||||
reversed: true
|
reversed: true
|
||||||
- id: light_eu_right
|
- id: light_eu_right
|
||||||
name: Light - Right EU
|
name: Light - Right EU
|
||||||
<<: *light_partition_with_effects_disabled
|
<<: *light_partition_no_effects_disabled
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 27
|
from: 27
|
||||||
@@ -145,7 +194,7 @@ light:
|
|||||||
reversed: false
|
reversed: false
|
||||||
- id: light_eu_top
|
- id: light_eu_top
|
||||||
name: Light - Top EU
|
name: Light - Top EU
|
||||||
<<: *light_partition_with_effects_disabled
|
<<: *light_partition_no_effects_disabled
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 20
|
from: 20
|
||||||
@@ -153,7 +202,7 @@ light:
|
|||||||
reversed: false
|
reversed: false
|
||||||
- id: light_us_bottom
|
- id: light_us_bottom
|
||||||
name: Light - Bottom US
|
name: Light - Bottom US
|
||||||
<<: *light_partition_with_effects_disabled
|
<<: *light_partition_no_effects_disabled
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 9
|
from: 9
|
||||||
@@ -161,7 +210,7 @@ light:
|
|||||||
reversed: true
|
reversed: true
|
||||||
- id: light_us_left
|
- id: light_us_left
|
||||||
name: Light - Left US
|
name: Light - Left US
|
||||||
<<: *light_partition_with_effects_disabled
|
<<: *light_partition_no_effects_disabled
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 15
|
from: 15
|
||||||
@@ -169,7 +218,7 @@ light:
|
|||||||
reversed: true
|
reversed: true
|
||||||
- id: light_us_right
|
- id: light_us_right
|
||||||
name: Light - Right US
|
name: Light - Right US
|
||||||
<<: *light_partition_with_effects_disabled
|
<<: *light_partition_no_effects_disabled
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 31
|
from: 31
|
||||||
@@ -181,7 +230,7 @@ light:
|
|||||||
reversed: false
|
reversed: false
|
||||||
- id: light_us_top
|
- id: light_us_top
|
||||||
name: Light - Top US
|
name: Light - Top US
|
||||||
<<: *light_partition_with_effects_disabled
|
<<: *light_partition_no_effects_disabled
|
||||||
segments:
|
segments:
|
||||||
- id: light_full
|
- id: light_full
|
||||||
from: 25
|
from: 25
|
||||||
|
|||||||
Reference in New Issue
Block a user