How do I get the boolean code, true or false, for this sensor?

@ardy_guy

... might not be wise, because it might actually be a 24V thing?

Your correct, my purpose was to state the assumptions to my comments. Expecting if my assumption is not valid then my comment is not valid.

I need to come up with a better way of stating this.

Thanks

John