Issue with able/disable functionality in Main UI rule generator

  • Platform information:
    • Hardware: Intel Core i5 4th gen / 8 Gb RAM DDR3 / SSD PCI Exp 128 Mb
    • OS: W10 Home with extended safety pack until october 2026
    • Java Runtime Environment: Zulu 21
    • openHAB version: 5.1.0.M3
  • Issue of the topic: issue with able/disable functionality in Main UI rule generator
  • Please post configurations (if applicable):
    • Items configuration: nothing specific
    • Sitemap configuration: nothing specific
    • Rules code related to the issue:

I have noticed about a malfunction in rule engine at main UI:

when a enable/disable scenes/script/rules is selected as an action in a rule design

There are no marks either on Enable or Disable options, so it is not easy to see the current configuration of the rule unless you show YAML code:

configuration: {}
triggers:
  - id: "1"
    configuration:
      cronExpression: 0 0 8 1 2 ? *
    type: timer.GenericCronTrigger
conditions: []
actions:
  - inputs: {}
    id: "2"
    configuration:
      enable: false
      ruleUIDs:
        - dbdcad4bf5
        - 65b9f7442c
        - cd685ab08f
        - 00c92815a5
        - bf769d32dc
    type: core.RuleEnablementAction
  - inputs: {}
    id: "3"
    configuration:
      enable: true
      ruleUIDs:
        - b4702c63a4
    type: core.RuleEnablementAction

Action id 3 shows enable as TRUE, but it is not shown in the previous selection box. I have noticed that this happens in all the OH 5 versions, but not in OH4.

Thank you and kind regards

Diego

Please open an issue on openhab-webui. There should be a visible indication in the UI when an action or trigger or condition are disabled.

I’ve never really messed with disabling parts of rules like this, but if there used to be a visual indication in the UI, mark this as a bug.

I can confirm this:

But the rules itself will be actived or deactived when I trigger them e.g. via a cell:

disabeld:

enabled:

OK, I shall do asap

That’s different in two different ways.

  1. @DiegoGR is manually disabling just the Action part of a rule, not the whole rule itself.
  2. There is no connection between a cell widget and a rule’s enabled/disabled status.

If you are experiencing some sort of problem with your current setup, please post a new thread and we can look into that. But please provide more details including the configurations for widgets and rules in questions. Use the code tab, not screen shots.

Done: