Different methods to run a piston not working?


#1

I have attached two pistons. They both ‘should’ do the same thing. If I turn the table lamp switch on it should fire a log to console. However if I use the physical device/attribute it works perfectly. If I use a device variable from an expression it doesn’t fire. Matter of fact, even thought I am using a trigger as a comparison it doesn’t subscribe to any events? It I try to subscribe the if expression it still does not fire?

What am I missing?

Thanks
Gopack2


#2

I don’t think we are able to trigger off a device:attribute expression to begin with, I see it as a form of querying the device:attribute status but not firing off of its events.


#3

It’s very inconsistent. I actually got this to work as a condition for two ecobee thermostats:

{[thermoStats:currentProgramId]} is 'away and away'

:man_shrugging:

OK, now back to the Hubitat forum, LOL …