Another approach is to use a multi-sensor icon. That shows a different icon depending on which one of N sensors is Active. (These can be internal sensors that e.g.some logic operates on)
The example is showing 3 states of a lever, but you can have as many states as you want.
Bob
—
Bob Jacobsen
rgj1927@...