Skip to content

Is there a rule trigger like "ON Rule1#State==1 DO ..... ENDON" ? #10643

Answered by ascillato
coolman111 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@sfromis
Comment options

@coolman111
Comment options

@sfromis
Comment options

Answer selected by ascillato2
Comment options

You must be logged in to vote
1 reply
@sfromis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants