You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it's not possible to change the enabled-status of a rule within blockly.
Your suggestion
Introduce a new block "set enabled/disabled [rule]"
It may also be useful to have "get enabled-status [rule]" (i.e., so you can write code that's semantically equivalent to "if rule X is enabled, then ABC, else DEF")
The problem
Currently it's not possible to change the enabled-status of a rule within blockly.
Your suggestion
Introduce a new block "set enabled/disabled [rule]"
It may also be useful to have "get enabled-status [rule]" (i.e., so you can write code that's semantically equivalent to "if rule X is enabled, then ABC, else DEF")
Your environment
Additional information
This thread has a helpful reference to an alternative method for accomplishing this, but it's a big chunk of inline scripting: https://community.openhab.org/t/how-to-disable-a-rule-from-a-blockly-script/144548/4
The text was updated successfully, but these errors were encountered: