From 27f8f2e67a7a3926098481e47bb90e23dd682ad1 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Tue, 19 Nov 2019 13:58:29 -0500 Subject: [PATCH] Updated Rule Cookbook (markdown) --- Rule-Cookbook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rule-Cookbook.md b/Rule-Cookbook.md index 5ca5965d..5bb6c61f 100644 --- a/Rule-Cookbook.md +++ b/Rule-Cookbook.md @@ -1490,7 +1490,7 @@ Rule1 1 #### Roller shutter push-button toggle -With a device (e.g., Shelly 2.5) configured for a roller shutter with two relays, you can also connect your regular push-button switches and set up inverted toggle behavior. Pressing a push-button once makes the roller shutter move in a direction, pressing it again stops it. The rules each use a variable to remember the state they're in, where `0 == Stopped` and `1 == Moving`. +With a two relay device (e.g., Shelly 2.5) configured for a roller shutter, you can also connect push-buttons (configured as switch components in this example) and set them for inverted toggle behavior. Pressing a push-button once makes the roller shutter move in one direction. Pressing it again stops it. These rules each use a variable to remember the shutter state where `0 == Stopped` and `1 == Moving`. ```lua Backlog SwitchTopic 0; SwitchMode1 4; SwitchMode2 4