@jriker1 wrote:
I have a result that comes in from SNMP
iso.3.6.1.2.1.25.3.5.1.2.1 = Hex-STRING: 00
with platform: snmp
When I try:
value_template: “{%if value == ‘0’ %}OK{% else %}Failed{% endif %}”
or
value_template: “{%if value == ‘00’ %}OK{% else %}Failed{% endif %}”
It returns Failed any idea what I’m doing wrong?
Posts: 2
Participants: 2