mirror of https://github.com/arendst/Tasmota.git
Updated Rules (markdown)
parent
35fdce4cc0
commit
f27b73c261
4
Rules.md
4
Rules.md
|
@ -113,7 +113,7 @@ Trigger | When it occurs |
|
|||
|INA219#Current>0.100| whenever the current drawn is more than 0.1A|
|
||||
|Energy#Power>100| whenever the power used is more than 100W|
|
||||
|
||||
Devices using RF ([Sonoff RF Bridge](Sonoff-RF-Bridge-433)) or IR are also supported based on their JSON message like:
|
||||
Devices using RF (e.g. [Sonoff RF Bridge](Sonoff-RF-Bridge-433)) or IR are also supported based on their [JSON](JSON-Status-Responses) status message:
|
||||
|
||||
Trigger | When it occurs |
|
||||
------------------|-------------|
|
||||
|
@ -125,7 +125,7 @@ Trigger | When it occurs |
|
|||
|
||||
### Rule Command
|
||||
|
||||
A command is any available command listed in the [commands list](Commands). A command `<parameter>` may be replaced with `%value%` which will use the value of the trigger.
|
||||
A rule command can be any command listed in the [Commands list](Commands). That command `<parameter>` can be replaced with `%value%` which will use the value of the trigger.
|
||||
|
||||
```on Switch1#State do Power %value% endon```
|
||||
|
||||
|
|
Loading…
Reference in New Issue