#Why isn't this triggering?

1 messages · Page 1 of 1 (latest)

worthy nimbus
#

I'm having a brain fart. Why the heck isn't this triggering?

Previously I had it "when value = 1". So if I turned off the light manually, it would come back on a few seconds later. I figured this new one if it turns on automatically, and I want it off, I can turn it off myself.

#

Here is me coming home. The light never came on. If I run the action manually, light works.

#

omg is it because it's 0.0 and 1.0 ?!

mellow python
#

It says 0.0 and 1.0

rose heron
#

Yeah, all states are strings and 1.0 is not 1

worthy nimbus
#

lol damnit!

rose heron
#

Nor is the string 0.0 the same as 0

worthy nimbus
#

Is there a better way to achieve what I want? Because ideally anything non-zero, transition from zero, i want it to trigger.

rose heron
#

Numeric state trigger above 0 would do it

worthy nimbus
#

But only when changing?

rose heron
#

Only when it goes from 0 to above 0, yes

worthy nimbus
#

Hmm that's what I had before. Can I achieve that in GUI?

#

This will keep triggering, I thinnnnnk this is what I had before.. not 100% sure.

#

This might work?

rose heron
#

Numeric state triggers only trigger when the state goes above or below the value specified in the trigger

worthy nimbus
#

Oh, now I realize that apollo exposes a boolean "Occupancy" state 😄

rose heron
#

Even better

worthy nimbus
#

Thanks for the help 🙂