Fix rule configuration in network_configuration.json and documentation. Changed rule2 to Rule1 to properly enable rule1 instead of rule2.
This commit is contained in:
parent
301eb03c3e
commit
42915f508e
@ -20,7 +20,7 @@ The `console` section in the `network_configuration.json` file allows you to con
|
||||
"SetOption53": "1",
|
||||
"SetOption73": "1",
|
||||
"rule1": "on button1#state=10 do power0 toggle endon",
|
||||
"rule2": "1"
|
||||
"Rule1": "1"
|
||||
}
|
||||
```
|
||||
|
||||
@ -79,6 +79,6 @@ Rules allow you to create simple automations directly on the Tasmota device.
|
||||
| Command | Values | Description |
|
||||
|---------|--------|-------------|
|
||||
| `rule1` | Rule expression | Defines the first rule. Example: `on button1#state=10 do power0 toggle endon` |
|
||||
| `rule2` | `0`, `1` | Enables or disables rule2:<br>`0` = disable (default)<br>`1` = enable |
|
||||
| `Rule1` | `0`, `1` | Enables or disables rule1:<br>`0` = disable (default)<br>`1` = enable |
|
||||
|
||||
For more information about Tasmota commands, visit the [official Tasmota documentation](https://tasmota.github.io/docs/Commands/).
|
||||
@ -77,7 +77,7 @@ Create a `network_configuration.json` file with the following structure:
|
||||
"SetOption53": "1",
|
||||
"SetOption73": "1",
|
||||
"rule1": "on button1#state=10 do power0 toggle endon",
|
||||
"rule2": "1"
|
||||
"Rule1": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
"SetOption53": "1",
|
||||
"SetOption73": "1",
|
||||
"rule1": "on button1#state=10 do power0 toggle endon",
|
||||
"rule2": "1"
|
||||
"Rule1": "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user