Skip to content

Fix issue #107 blocking channel-mode events past 3H on d4k-3ch.#109

Open
fwiffo wants to merge 1 commit intoToyKeeper:trunkfrom
fwiffo:fix_custom_ch_ifelse
Open

Fix issue #107 blocking channel-mode events past 3H on d4k-3ch.#109
fwiffo wants to merge 1 commit intoToyKeeper:trunkfrom
fwiffo:fix_custom_ch_ifelse

Conversation

@fwiffo
Copy link

@fwiffo fwiffo commented Sep 29, 2024

If a light has a custom 3H function specified for a channel, it would always call the custom function, not just during 3H events. It would only return if the event was handled by the custom function, but would fall out of the if/else otherwise, preventing later events from being handled.

This prevented access to the 9H channel config in HSV mode, for instance.

If a light has a custom 3H function specified for a channel, it would
always call the custom function, not just during 3H events. It would
only return if the event was handled by the custom function, but would
fall out of the if/else otherwise, preventing later events from being
handled.

This prevented access to the 9H channel config in HSV mode, for
instance.
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.

2 participants