The alarm bitmask was published only when the number of BMS in alarm
equalled var_bms_counter, the number of configured BMS. But only
combined BMS are counted in alarm, so with one BMS offline or missing a
value the alarm could never be raised : the inverter received only the
warning bits, and the "Alarm" text sensor showed "Warning".
STEP 2 now compares with var_to_combine_bms_counter. An uncombined BMS
is offline or has missing data, it does not count as "not in alarm".
This matches the rest of the combiner, where charge and discharge are
already decided by the combined BMS only.
The "Alarm" text sensor no longer compares counters : it is derived from
the published alarm and warning bitmasks, so it shows what is sent to
the inverter.
The comment on the alarm sensor said "bitwise AND", it is an OR.