Using macro #113
user2684
started this conversation in
General Discussion
Using macro
#113
Replies: 1 comment
-
|
[This post has been migrated from the old forum, it was originally sent by user2684 on 2020-10-10 16:01:38] The idea is you add a list of placeholders and for each one of those the rule will run independently replacing the %i% with the placeholder. If e.g. you have two sensors you want to apply the same logic to, you add sensor1 and sensor2 to the macro page and use %i% wherever you would have used the sensor. %ph% is not a valid placeholder that's why it is not working, you need to use %i% |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[This post has been migrated from the old forum, it was originally sent by eporocrail on 2020-10-06 13:50:55]
@user2684
I am trying to get the idea behind macro.
I have a rule which is working well.
Next I want to make it general with a macro to be able to put more sensors into this rule.
The first one is working the second one is not.
What do I wrong.
Your advice please.
Beta Was this translation helpful? Give feedback.
All reactions