mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Added new Candle effect - like those fake flickering led candles (#317)
* Added new Candle effect - like those fake flickering led candles * Candle work... code cleanups parameter changes schema file english labels * renamed a title * candle effect german localisation * fix typo in police.py
This commit is contained in:
@@ -9,7 +9,7 @@ reverse = bool(hyperion.args.get('reverse', False))
|
||||
|
||||
# Check parameters
|
||||
rotationTime = max(0.1, rotationTime)
|
||||
colorsCoun t = min(hyperion.ledCount/2, colorsCount)
|
||||
colorsCount = min(hyperion.ledCount/2, colorsCount)
|
||||
|
||||
# Initialize the led data
|
||||
hsv1 = colorsys.rgb_to_hsv(colorOne[0]/255.0, colorOne[1]/255.0, colorOne[2]/255.0)
|
||||
|
Reference in New Issue
Block a user