code: def _bit_value(self, group, val):
          
          bitshift = group - 1
          if val:
              new_value = self._value | (1 << bitshift)
          else:
              new_value = self._value & (0xff & ~(1 << bitshift))
          return new_value
docs: Set the LED on/off value from the LED bitmap.