I am not 100% sure if the bug is in core framewrok or in Main UI.
When you disable a rule in Main UI, the data is saved in the file userdata/jsondb/automation_rules_disabled.json.
When only one rule is disabled, the file content is:
{
"maison-10": {
"class": "java.lang.Boolean",
"value": true
}
What is saved seems to be a rule ID (maison-10) and not a rule name.
In config file, what we define are rule names (and not rule ID).
What happens is that if your remove a rule from this config file, the disabled rule will be another rule, not your original rule. There is a mismatch between disabled rules.
I am not 100% sure if the bug is in core framewrok or in Main UI.
When you disable a rule in Main UI, the data is saved in the file userdata/jsondb/automation_rules_disabled.json.
When only one rule is disabled, the file content is:
What is saved seems to be a rule ID (maison-10) and not a rule name.
In config file, what we define are rule names (and not rule ID).
What happens is that if your remove a rule from this config file, the disabled rule will be another rule, not your original rule. There is a mismatch between disabled rules.