Skip to content

fix: allow zero percentage shortcuts - #667

Open
IoannisArmamentos wants to merge 1 commit into
denysdovhan:mainfrom
IoannisArmamentos:fix/zero-percentage-shortcut
Open

fix: allow zero percentage shortcuts#667
IoannisArmamentos wants to merge 1 commit into
denysdovhan:mainfrom
IoannisArmamentos:fix/zero-percentage-shortcut

Conversation

@IoannisArmamentos

Copy link
Copy Markdown

Fixes percentage shortcuts with percentage: 0 being ignored.

Zero is a valid value for fan.set_percentage, so the shortcut check now only skips undefined values instead of all falsy values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant