Hello I wish to turn a relay whose number I suppose from a variable . is this possible?
then turn unipiRelay-"$variab1" on
variable extension for rules
Hello I wish to turn a relay whose number I suppose from a variable . is this possible?
then turn unipiRelay-"$variab1" on
@elru As far as I know this is generally not possible with pimatic. You can use an expression as part of values in rules, but not for the device name or id. At least, this is my understanding of the matchDevice() method of pimatic.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
This would be a great extension to the rule system.
pimatic rocks!!!
yes that would be great and would save me a lot of rules
Will move this to the feature request.
Please up vote above!
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
Please also look at this similar feature request. Would also help to reduce amount of rules: https://forum.pimatic.org/topic/193/variables-in-shellswitch-command-attributes