Is there a rule trigger like "ON Rule1#State==1 DO ..... ENDON" ? #10643
-
Hi, I'm playing around a little bit with Rule coding in order to optimize the features of a Gosund SP111 WiFi plug. //Comment: Rule1 ON -> Time Mode, Rule1 OFF -> normal On/Off mode. Does anyone has a clue of what is happening here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The available rule triggers are only the ones explained in the docs at rules (https://tasmota.github.io/docs/Rules/). The trigger It is better to use a VAR for your use case instead. |
Beta Was this translation helpful? Give feedback.
-
This falls into the "every Tasmota command result is a rule trigger" category. |
Beta Was this translation helpful? Give feedback.
The available rule triggers are only the ones explained in the docs at rules (https://tasmota.github.io/docs/Rules/).
The trigger
Rule#State==1
is NOT VALID and is not going to be added because Enabling and disabling rules as you are doing will wear your flash. Sorry.It is better to use a VAR for your use case instead.