Skip to content

If condition - Extra arguments #6

@Mark79864

Description

@Mark79864

Currently 'Fade' has 2 arguments.
image

I would ask for an enhancement to have 3 arguments (sort of 4).
The third argument being an 'If' condition to compare to current brightness.

Such as:
If [current_brightness] is [=, <, >] [new_brightness]%:
then fade to [new_brightness]% over [time].

Use case of this is for people who uses Fade command in a schedule, but may have required to change the brightness manually mid show.

Example:
At 9pm the Fade brightness command is scheduled to run.
Taking from 100% to 70%. But prior to this, the user has manually lowered the brightness to 40% before hand. (Via Big Buttons or Run FPP Command).

Since the manually lowered brightness is less than scheduled 70% argument, the brightness would increase when the user did not want it to do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions