Add anchor per model

This commit is contained in:
Edward Firmo
2025-07-30 19:15:39 +02:00
parent 1190802ccd
commit 0b7f83ebca

View File

@@ -54,69 +54,74 @@ light:
type: GRB type: GRB
variant: WS2811 variant: WS2811
# Those lights contain common effects for both models # Those lights are available based on the model selections
- &light_partition_with_effects_common - &light_partition_with_effects_eu
id: light_base id: light_eu
name: Light Base name: Light EU
platform: partition platform: partition
default_transition_length: ${default_transition_length} default_transition_length: ${default_transition_length}
internal: true internal: true
restore_mode: ${LIGHT_SIDES_RESTORE_MODE} restore_mode: ${LIGHT_SIDES_RESTORE_MODE}
effects: effects:
- addressable_rainbow:
name: "Rainbow"
width: 28
- addressable_rainbow:
name: "Rainbow - Fast"
width: 28
speed: 50
- pulse: - pulse:
name: "Pulse" name: "Pulse"
transition_length: 1s transition_length: 1s
update_interval: 1s update_interval: 1s
width: 28
- pulse: - pulse:
name: "Pulse - Slow" name: "Pulse - Slow"
transition_length: 2s transition_length: 2s
update_interval: 2s update_interval: 2s
width: 28
- addressable_scan: - addressable_scan:
name: "Scan" name: "Scan"
move_interval: 100ms move_interval: 100ms
scan_width: 3 scan_width: 3
width: 28
- addressable_twinkle: - addressable_twinkle:
name: "Twinkle" name: "Twinkle"
twinkle_probability: 5% twinkle_probability: 5%
progress_interval: 4ms progress_interval: 4ms
width: 28
- addressable_random_twinkle: - addressable_random_twinkle:
name: "Random Twinkle" name: "Random Twinkle"
twinkle_probability: 20% twinkle_probability: 20%
progress_interval: 32ms progress_interval: 32ms
width: 28
- addressable_fireworks: - addressable_fireworks:
name: "Fireworks" name: "Fireworks"
update_interval: 32ms update_interval: 32ms
spark_probability: 10% spark_probability: 10%
use_random_color: false use_random_color: false
fade_out_rate: 120 fade_out_rate: 120
width: 28
- addressable_flicker: - addressable_flicker:
name: "Flicker" name: "Flicker"
update_interval: 16ms update_interval: 16ms
intensity: 5% intensity: 5%
width: 28
- random: - random:
name: "Random" name: "Random"
width: 28
segments: segments:
- id: light_full - id: light_full
from: 0 from: 0
to: 27 to: 27
# Those lights are available based on the model selections - &light_partition_with_effects_us
- &light_partition_with_effects id: light_us
<<: *light_partition_with_effects_common
id: light_eu
name: Light EU
effects:
- addressable_rainbow:
name: "Rainbow"
width: 28
- addressable_rainbow:
name: "Rainbow - Fast"
width: 28
speed: 50
- id: light_us
name: Light US name: Light US
<<: *light_partition_with_effects_common platform: partition
default_transition_length: ${default_transition_length}
internal: true
restore_mode: ${LIGHT_SIDES_RESTORE_MODE}
effects: effects:
- addressable_rainbow: - addressable_rainbow:
name: "Rainbow" name: "Rainbow"
@@ -125,16 +130,56 @@ light:
name: "Rainbow - Fast" name: "Rainbow - Fast"
width: 32 width: 32
speed: 50 speed: 50
- pulse:
name: "Pulse"
transition_length: 1s
update_interval: 1s
width: 32
- pulse:
name: "Pulse - Slow"
transition_length: 2s
update_interval: 2s
width: 32
- addressable_scan:
name: "Scan"
move_interval: 100ms
scan_width: 3
width: 32
- addressable_twinkle:
name: "Twinkle"
twinkle_probability: 5%
progress_interval: 4ms
width: 32
- addressable_random_twinkle:
name: "Random Twinkle"
twinkle_probability: 20%
progress_interval: 32ms
width: 32
- addressable_fireworks:
name: "Fireworks"
update_interval: 32ms
spark_probability: 10%
use_random_color: false
fade_out_rate: 120
width: 32
- addressable_flicker:
name: "Flicker"
update_interval: 16ms
intensity: 5%
width: 32
- random:
name: "Random"
width: 32
segments: segments:
- id: light_full - id: light_full
from: 0 from: 0
to: 31 to: 31
- &light_partition_with_effects_disabled - &light_partition_with_effects_eu_disabled
id: light_eu_bottom id: light_eu_bottom
name: Light - Bottom EU name: Light - Bottom EU
disabled_by_default: true disabled_by_default: true
<<: *light_partition_with_effects <<: *light_partition_with_effects_eu
segments: segments:
- id: light_full - id: light_full
from: 6 from: 6
@@ -142,7 +187,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_with_effects_eu_disabled
segments: segments:
- id: light_full - id: light_full
from: 13 from: 13
@@ -150,7 +195,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_with_effects_eu_disabled
segments: segments:
- id: light_full - id: light_full
from: 27 from: 27
@@ -162,7 +207,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_with_effects_eu_disabled
segments: segments:
- id: light_full - id: light_full
from: 20 from: 20
@@ -170,15 +215,17 @@ 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_with_effects_eu_disabled
segments: segments:
- id: light_full - id: light_full
from: 9 from: 9
to: 14 to: 14
reversed: true reversed: true
- id: light_us_left - &light_partition_with_effects_us_disabled
id: light_us_left
name: Light - Left US name: Light - Left US
<<: *light_partition_with_effects_disabled disabled_by_default: true
<<: *light_partition_with_effects_us
segments: segments:
- id: light_full - id: light_full
from: 15 from: 15
@@ -186,7 +233,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_with_effects_us_disabled
segments: segments:
- id: light_full - id: light_full
from: 31 from: 31
@@ -198,7 +245,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_with_effects_us_disabled
segments: segments:
- id: light_full - id: light_full
from: 25 from: 25