openhab-scripters/openhab-helper-libraries

[Area Triggers and Actions] Refactor light_action

theiding opened this issue · 2 comments

The existing light_action code duplicates code for brightness > 0 and brightness == 0 handling and across the dimmer, switch and color handling. Collapsing the code will make it more readable and extensible, which will be helpful for users as light_action is meant to be customized by users.

I have the code available and am happy to submit the PR.

5iver commented

Resolved in #361.