From 42915f508e1ebf5e3e2100a8bbc4013021524e97 Mon Sep 17 00:00:00 2001 From: Mike Geppert Date: Tue, 5 Aug 2025 02:07:42 -0500 Subject: [PATCH] Fix rule configuration in network_configuration.json and documentation. Changed rule2 to Rule1 to properly enable rule1 instead of rule2. --- CONSOLE_COMMANDS.md | 4 ++-- README.md | 2 +- network_configuration.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONSOLE_COMMANDS.md b/CONSOLE_COMMANDS.md index 0f050cd..be74b86 100644 --- a/CONSOLE_COMMANDS.md +++ b/CONSOLE_COMMANDS.md @@ -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:
`0` = disable (default)
`1` = enable | +| `Rule1` | `0`, `1` | Enables or disables rule1:
`0` = disable (default)
`1` = enable | For more information about Tasmota commands, visit the [official Tasmota documentation](https://tasmota.github.io/docs/Commands/). \ No newline at end of file diff --git a/README.md b/README.md index b84b8bc..4751fb2 100644 --- a/README.md +++ b/README.md @@ -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" } } } diff --git a/network_configuration.json b/network_configuration.json index 21b1dc8..6f760e2 100644 --- a/network_configuration.json +++ b/network_configuration.json @@ -41,7 +41,7 @@ "SetOption53": "1", "SetOption73": "1", "rule1": "on button1#state=10 do power0 toggle endon", - "rule2": "1" + "Rule1": "1" } } } \ No newline at end of file