Skip to content

Commit

Permalink
Rules.md: Correct description of pressure cooker example (#1390)
Browse files Browse the repository at this point in the history
Rules.md: Correct description of pressure cooker example. Example said it would shut off power immediately, but the code would only shut it off if the pressure cooker remained off for 10 minutes.
  • Loading branch information
zanhecht authored Jun 17, 2024
1 parent 0c23bf5 commit c23e5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ When the `<if-statement>` is preceded by other Tasmota commands you should use `
`ON Power2#state=1 DO IF (Mem1==0) Var1 Var1+1; Mem1 1 ENDIF; Delay 10; Power1 on ENDON`
!!! example
Rule used to control pressure cooker with a Sonoff S31. Once it is finished cooking, shut off the power immediately.
Rule used to control pressure cooker with a Sonoff S31. Once it is finished cooking, shut off the power after 10 minutes.
```haskell
Rule1
ON system#boot DO var1 0 ENDON
Expand Down

0 comments on commit c23e5ba

Please sign in to comment.