How to bind "Stroke Style" to a boolean property?

I’m in the beginning stages of a project and am currently building motor templates. Each template has the following custom properties:
running_color (color)
stopped_color (color)
alarm_color (color)
running_indication (Boolean)
alarm_indication (Boolean)

I would like to know how I could use the Boolean “alarm_indication” to cause the motor’s “Stroke style” to increase to a width of 5.

Hi!

Take a look at this topic.