* relay: compare sum of physical + dummy relays instead of just dummy * typo
- mask is defined as (relay# status << number) - transparently handle base-2 and base-10 numbers - if the relay mode requires us to save the mask, it will be saved as base-2