I'm feeling stupid.
I have an item defined as numeric, unsigned, with units unixtime.
The collection external check, in unusual circumstances, sets this to zero to indicate "not available" and I want to trigger from that.
The zero is reported on the Latest Data as the word "Never", but if I graph it, it looks like zero, but the actual graph says the word "Never" also.
I am using a trigger expression: last(/ha/entity_last_change[cover.right_bay])=0
It is not triggering on "never". I was pretty sure this didn't work: last(/ha/entity_last_change[cover.right_bay])="Never"
And indeed it doesn't trigger either.
What's the proper way to check for this?
Thanks,
Linwood
PS. Running 7.0.8.
I have an item defined as numeric, unsigned, with units unixtime.
The collection external check, in unusual circumstances, sets this to zero to indicate "not available" and I want to trigger from that.
The zero is reported on the Latest Data as the word "Never", but if I graph it, it looks like zero, but the actual graph says the word "Never" also.
I am using a trigger expression: last(/ha/entity_last_change[cover.right_bay])=0
It is not triggering on "never". I was pretty sure this didn't work: last(/ha/entity_last_change[cover.right_bay])="Never"
And indeed it doesn't trigger either.
What's the proper way to check for this?
Thanks,
Linwood
PS. Running 7.0.8.
Comment