Ignition On/Off based on state value

Joystick5 years ago

My device send a attribute 83 with value of 327 or 0 depending on ignition input from car. Ho can I use this to turn the Ignition attribute on or off.

Joystick5 years ago

I've tried below with no luck:

Ignition
83 ? 83 == 327 ? true : false
Boolean

Ignition
event ? event == 327 ? true : false
Boolean

Ignition
83 < 327 ? true : false
Boolean