Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clock-Timer: disabling a rule by unselecting all weekdays reenables all weekdays #349

Closed
lumpidu opened this issue Nov 7, 2021 · 2 comments
Assignees
Labels
💡 enhancement New feature or request

Comments

@lumpidu
Copy link

lumpidu commented Nov 7, 2021

Describe the bug
Disabling a rule by unselecting all weekdays reenables all weekdays.

Expected behavior
The rule should be disabled.

System information (please complete the following information):

  • Node Version 1.2.4
  • Node-Red Version: 2.3.1

Additional context
As a workaround to debug a rule, I need to uncomment the current month

@Hypnos3
Copy link
Collaborator

Hypnos3 commented Nov 7, 2021

This is not a common way for disabling a rule.
It is a consciously wanted behavior that is chosen every day.

One way for disabling rules will be to add a condition which will never be true.

I will think about an other way for disable rules.

@Hypnos3 Hypnos3 self-assigned this Nov 7, 2021
@Hypnos3 Hypnos3 added the 💡 enhancement New feature or request label Nov 7, 2021
Hypnos3 added a commit that referenced this issue Nov 7, 2021
@Hypnos3
Copy link
Collaborator

Hypnos3 commented Nov 8, 2021

implemented rule enable/disable in 2.0.3

@Hypnos3 Hypnos3 closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 enhancement New feature or request
Development

No branches or pull requests

2 participants